summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/shell/probe_vfs_getname.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/shell/probe_vfs_getname.sh')
-rwxr-xr-xtools/perf/tests/shell/probe_vfs_getname.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/perf/tests/shell/probe_vfs_getname.sh b/tools/perf/tests/shell/probe_vfs_getname.sh
new file mode 100755
index 000000000..9b7635184
--- /dev/null
+++ b/tools/perf/tests/shell/probe_vfs_getname.sh
@@ -0,0 +1,14 @@
+# Add vfs_getname probe to get syscall args filenames
+#
+# Arnaldo Carvalho de Melo <acme@kernel.org>, 2017
+
+. $(dirname $0)/lib/probe.sh
+
+skip_if_no_perf_probe || exit 2
+
+. $(dirname $0)/lib/probe_vfs_getname.sh
+
+add_probe_vfs_getname || skip_if_no_debuginfo
+err=$?
+cleanup_probe_vfs_getname
+exit $err