xref: /linux/tools/perf/tests/shell/probe_vfs_getname.sh (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
14eaf97e8SMichael Petlan#!/bin/sh
2a3534842SArnaldo Carvalho de Melo# Add vfs_getname probe to get syscall args filenames
35875cf4cSArnaldo Carvalho de Melo
45875cf4cSArnaldo Carvalho de Melo# SPDX-License-Identifier: GPL-2.0
5a3534842SArnaldo Carvalho de Melo# Arnaldo Carvalho de Melo <acme@kernel.org>, 2017
6a3534842SArnaldo Carvalho de Melo
7*35de80c7SAthira Rajeev# shellcheck source=lib/probe.sh
87b485d94SKajol Jain. "$(dirname $0)"/lib/probe.sh
91ad5a182SArnaldo Carvalho de Melo
101ad5a182SArnaldo Carvalho de Meloskip_if_no_perf_probe || exit 2
111ad5a182SArnaldo Carvalho de Melo
12*35de80c7SAthira Rajeev# shellcheck source=lib/probe_vfs_getname.sh
137b485d94SKajol Jain. "$(dirname $0)"/lib/probe_vfs_getname.sh
14a3534842SArnaldo Carvalho de Melo
15a3534842SArnaldo Carvalho de Meloadd_probe_vfs_getname || skip_if_no_debuginfo
16a3534842SArnaldo Carvalho de Meloerr=$?
17a3534842SArnaldo Carvalho de Melocleanup_probe_vfs_getname
18a3534842SArnaldo Carvalho de Meloexit $err
19