perf tests probe_vfs_getname.sh: Update to use 'perf check feature'
authorAthira Rajeev <atrajeev@linux.vnet.ibm.com>
Wed, 4 Sep 2024 19:01:30 +0000 (00:31 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 4 Sep 2024 19:19:52 +0000 (16:19 -0300)
commit512fcf7d9d7fb3751b03db45977b7fabaadfaecd
treea6dc732e3ad6961fcfd77b7d341248e90de566fe
parent8a028502b4124eb9e37b5216e440ebb9e187b0a1
perf tests probe_vfs_getname.sh: Update to use 'perf check feature'

In probe_vfs_getname.sh, current we use "perf record --dry-run"
to check for libtraceevent and skip the test if perf is not
build with libtraceevent. Change the check to use "perf check feature"
option

Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Disha Goel <disgoel@linux.vnet.ibm.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kajol Jain <kjain@linux.ibm.com>
Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240904190132.415212-6-adityag@linux.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/lib/probe_vfs_getname.sh
tools/perf/tests/shell/record+probe_libc_inet_pton.sh
tools/perf/tests/shell/record+script_probe_vfs_getname.sh