[PATCH v1 0/5] perf trace: Augment enum arguments with BTF

From: Howard Chu
Date: Tue Jun 18 2024 - 11:26:21 EST


Augment enum arguments in perf trace, including syscall arguments and
non-syscall tracepoint arguments.

The augmentation is implemented using BTF.

This patch series also includes a bug fix, which makes more syscalls to
be traceable by perf trace.

Test is included.

*** BLURB HERE ***

Howard Chu (5):
perf trace: Fix iteration of syscall ids in syscalltbl->entries
perf trace: Augment enum syscall arguments with BTF
perf trace: Augment enum tracepoint arguments with BTF
perf trace: Filter enum arguments with enum names
perf trace: Add test for enum augmentation

tools/perf/builtin-trace.c | 214 ++++++++++++++++++++---
tools/perf/tests/shell/trace_btf_enum.sh | 104 +++++++++++
tools/perf/util/syscalltbl.c | 7 +
tools/perf/util/syscalltbl.h | 1 +
4 files changed, 301 insertions(+), 25 deletions(-)
create mode 100755 tools/perf/tests/shell/trace_btf_enum.sh

--
2.45.2