hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/tools/perf/tests/shell/trace+probe_vfs_getname.sh
....@@ -1,3 +1,4 @@
1
+#!/bin/sh
12 # Check open filename arg using perf trace + vfs_getname
23
34 # Uses the 'perf test shell' library to add probe:vfs_getname to the system
....@@ -6,11 +7,13 @@
67 # that already handles "probe:vfs_getname" if present, and used in the
78 # "open" syscall "filename" argument beautifier.
89
10
+# SPDX-License-Identifier: GPL-2.0
911 # Arnaldo Carvalho de Melo <acme@kernel.org>, 2017
1012
1113 . $(dirname $0)/lib/probe.sh
1214
1315 skip_if_no_perf_probe || exit 2
16
+skip_if_no_perf_trace || exit 2
1417
1518 . $(dirname $0)/lib/probe_vfs_getname.sh
1619