treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / tools / perf / tests / shell / probe_vfs_getname.sh
blob5d1b63d3f3e1fbfba8f93165484b8c7edd757104
1 #!/bin/sh
2 # Add vfs_getname probe to get syscall args filenames
4 # SPDX-License-Identifier: GPL-2.0
5 # Arnaldo Carvalho de Melo <acme@kernel.org>, 2017
7 . $(dirname $0)/lib/probe.sh
9 skip_if_no_perf_probe || exit 2
11 . $(dirname $0)/lib/probe_vfs_getname.sh
13 add_probe_vfs_getname || skip_if_no_debuginfo
14 err=$?
15 cleanup_probe_vfs_getname
16 exit $err