[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241215190712.787847-1-howardchu95@gmail.com>
Date: Sun, 15 Dec 2024 11:07:09 -0800
From: Howard Chu <howardchu95@...il.com>
To: acme@...nel.org
Cc: namhyung@...nel.org,
mark.rutland@....com,
alexander.shishkin@...ux.intel.com,
jolsa@...nel.org,
irogers@...gle.com,
adrian.hunter@...el.com,
kan.liang@...ux.intel.com,
linux-perf-users@...r.kernel.org,
linux-kernel@...r.kernel.org,
Howard Chu <howardchu95@...il.com>
Subject: [PATCH v4 0/2] perf trace: Add more tests for BTF-augmented perf trace
Changes in v4:
- Use if -f to check the existence of vmlinux BTF, and exit if it
doesn't, so trace_test_string will not overwrite $err, and keep
running the test.
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@...nel.org> 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
Powered by blists - more mailing lists