[PATCH v3 0/2] perf trace: Add more tests for BTF-augmented perf trace

From: Howard Chu
Date: Wed Dec 11 2024 - 17:49:38 EST


Changes in v3:
- Add vmlinux BTF check, and skip the tests if it doesn't exist

v1, v2:

The previous version of the perf trace BTF general augmentation tests
didn't pass Shellcheck (thanks to Arnaldo Carvalho de Melo
<acme@xxxxxxxxxx> for pointing this out), this version uses bash instead
of POSIX shell to pass Shellcheck.

This patch series also adds documentation for the new option
--force-btf, which is used in the tests.

Link: https://lore.kernel.org/linux-perf-users/Zt9yiQq-n-W6I274@x1/

Howard Chu (2):
perf trace: Add tests for BTF general augmentation
perf docs: Add documentation for --force-btf option

tools/perf/Documentation/perf-trace.txt | 5 ++
tools/perf/tests/shell/trace_btf_general.sh | 93 +++++++++++++++++++++
2 files changed, 98 insertions(+)
create mode 100755 tools/perf/tests/shell/trace_btf_general.sh

--
2.43.0