.. | .. |
---|
| 1 | +#!/bin/sh |
---|
1 | 2 | # Check open filename arg using perf trace + vfs_getname |
---|
2 | 3 | |
---|
3 | 4 | # Uses the 'perf test shell' library to add probe:vfs_getname to the system |
---|
.. | .. |
---|
6 | 7 | # that already handles "probe:vfs_getname" if present, and used in the |
---|
7 | 8 | # "open" syscall "filename" argument beautifier. |
---|
8 | 9 | |
---|
| 10 | +# SPDX-License-Identifier: GPL-2.0 |
---|
9 | 11 | # Arnaldo Carvalho de Melo <acme@kernel.org>, 2017 |
---|
10 | 12 | |
---|
11 | 13 | . $(dirname $0)/lib/probe.sh |
---|
12 | 14 | |
---|
13 | 15 | skip_if_no_perf_probe || exit 2 |
---|
| 16 | +skip_if_no_perf_trace || exit 2 |
---|
14 | 17 | |
---|
15 | 18 | . $(dirname $0)/lib/probe_vfs_getname.sh |
---|
16 | 19 | |
---|