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.sh16
1 files changed, 16 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..5d1b63d3f
--- /dev/null
+++ b/tools/perf/tests/shell/probe_vfs_getname.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+# Add vfs_getname probe to get syscall args filenames
+
+# SPDX-License-Identifier: GPL-2.0
+# 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