xref: /linux/tools/perf/tests/shell/probe_vfs_getname.sh (revision 9e56ff53b4115875667760445b028357848b4748)
1#!/bin/sh
2# Add vfs_getname probe to get syscall args filenames
3
4# SPDX-License-Identifier: GPL-2.0
5# Arnaldo Carvalho de Melo <acme@kernel.org>, 2017
6
7# shellcheck source=lib/probe.sh
8. "$(dirname $0)"/lib/probe.sh
9
10skip_if_no_perf_probe || exit 2
11
12# shellcheck source=lib/probe_vfs_getname.sh
13. "$(dirname $0)"/lib/probe_vfs_getname.sh
14
15add_probe_vfs_getname || skip_if_no_debuginfo
16err=$?
17cleanup_probe_vfs_getname
18exit $err
19