linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] perf trace: Add more tests for BTF-augmented perf trace
@ 2024-12-15 19:07 Howard Chu
  2024-12-15 19:07 ` [PATCH v4 1/2] perf trace: Add tests for BTF general augmentation Howard Chu
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Howard Chu @ 2024-12-15 19:07 UTC (permalink / raw)
  To: acme
  Cc: namhyung, mark.rutland, alexander.shishkin, jolsa, irogers,
	adrian.hunter, kan.liang, linux-perf-users, linux-kernel,
	Howard Chu

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@kernel.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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-02-04  3:16 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-15 19:07 [PATCH v4 0/2] perf trace: Add more tests for BTF-augmented perf trace Howard Chu
2024-12-15 19:07 ` [PATCH v4 1/2] perf trace: Add tests for BTF general augmentation Howard Chu
2024-12-15 19:07 ` [PATCH v4 2/2] perf docs: Add documentation for --force-btf option Howard Chu
2024-12-23 19:06   ` Arnaldo Carvalho de Melo
2024-12-16 19:58 ` [PATCH v4 0/2] perf trace: Add more tests for BTF-augmented perf trace Namhyung Kim
2024-12-23 19:02   ` Arnaldo Carvalho de Melo
2024-12-23 19:40     ` Arnaldo Carvalho de Melo
2024-12-24  2:03       ` Howard Chu
2024-12-26 15:17         ` Arnaldo Carvalho de Melo
2025-01-11  0:52       ` Howard Chu
2025-01-13 15:57         ` Arnaldo Carvalho de Melo
2025-01-18 18:28           ` Namhyung Kim
2025-01-22  0:19             ` Howard Chu
2025-01-23 23:53               ` Namhyung Kim
2025-02-01  0:14                 ` Howard Chu
2025-02-04  3:16                   ` Namhyung Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).