xref: /linux/tools/perf/tests/shell/probe_vfs_getname.sh (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1#!/bin/sh
2# Add vfs_getname probe to get syscall args filenames (exclusive)
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