perf test shell: Move vfs_getname probe function to lib
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 4 Aug 2017 17:18:29 +0000 (14:18 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 11 Aug 2017 19:06:29 +0000 (16:06 -0300)
commit5ce669a59503f7c05c4648c70fe72bbe42613743
tree849f2b2df729bb0ba420bf0beeb71f1e6f8035c4
parent122e0b947052f6106595fa29d63d514d2ebcdad9
perf test shell: Move vfs_getname probe function to lib

Multiple tests will be able to reuse these functions, to test things
like perf report, 'trace', etc, using this probe.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Thomas Richter <tmricht@linux.vnet.ibm.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-48xagvozhouhyi8fjota6o2d@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.perf
tools/perf/tests/shell/lib/probe_vfs_getname.sh [new file with mode: 0644]
tools/perf/tests/shell/probe_vfs_getname.sh