linux/tools
Aaron Tomlin 35770d96fc perf tests: Add shell test for kernel symbol beautifier
Add a dedicated shell test script, trace_ksym_beautifier.sh, to verify
that 'perf trace' properly symbolises kernel virtual addresses (e.g.
call_site in kmem:kmalloc) and function pointer fields (e.g. function in
timer:hrtimer_start) using the kernel symbol beautifier (SCA_KSYM).

Committer testing:

  root@number:~# perf test "kernel sym"
  145: perf trace kernel symbol beautifier tests                                                                 : Ok

  === Test Summary ===
  Passed main tests : 1
  Passed subtests   : 0
  Skipped tests     : 0
  Failed tests      : 0
  root@number:~# perf test -vv "kernel sym"
  145: perf trace kernel symbol beautifier tests:
  ---- start ----
  test child forked, pid 920749
  Testing perf trace kernel symbol beautifier (call_site)
  Testing perf trace kernel symbol beautifier (function pointer)
  ---- end(0) ----
  145: perf trace kernel symbol beautifier tests                                                                 : Ok

  === Test Summary ===
  Passed main tests : 1
  Passed subtests   : 0
  Skipped tests     : 0
  Failed tests      : 0
  root@number:~# perf test -vvv "kernel sym"
  145: perf trace kernel symbol beautifier tests:
  ---- start ----
  test child forked, pid 920784
  Testing perf trace kernel symbol beautifier (call_site)
  Testing perf trace kernel symbol beautifier (function pointer)
  ---- end(0) ----
  145: perf trace kernel symbol beautifier tests                                                                 : Ok

  === Test Summary ===
  Passed main tests : 1
  Passed subtests   : 0
  Skipped tests     : 0
  Failed tests      : 0
  root@number:~#

Signed-off-by: Aaron Tomlin <atomlin@atomlin.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Tested-by: Ian Rogers <irogers@google.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2026-09-04 18:14:52 -03:00
..
accounting tools/accounting/getdelays: fix -Wformat-truncation warning in format_timespec 2026-05-28 21:24:40 -07:00
arch tools headers: Sync KVM headers with the kernel sources 2026-07-21 21:00:10 -03:00
bootconfig Bootconfig updates for v7.2 2026-06-16 17:29:24 +05:30
bpf tools/build: selftests: Remove some duplicate toolchain definitions 2026-07-25 22:25:00 -07:00
build perf build: Remove leftover feature tests for removed cxx and clang support 2026-08-12 06:17:49 -07:00
certs
cgroup
counter
crypto
debugging
dma
docs
firewire
firmware
gpio
hv
iio iio: core: Add IIO_COVERAGE channel type 2026-05-31 11:01:50 +01:00
include tools headers: Sync KVM headers with the kernel sources 2026-07-21 21:00:10 -03:00
kvm/kvm_stat
laptop
leds
lib tools/build: selftests: Remove some duplicate toolchain definitions 2026-07-25 22:25:00 -07:00
memory-model
mm slab changes for 7.2 - part 2 2026-06-22 08:28:48 -07:00
net tools/ynl: add missing uapi header deps in Makefile.deps 2026-06-24 19:30:55 -07:00
objtool
pcmcia
perf perf tests: Add shell test for kernel symbol beautifier 2026-09-04 18:14:52 -03:00
power platform-drivers-x86 for v7.2-1 2026-06-23 08:31:33 -07:00
rcu
sched
sched_ext tools/sched_ext: scx - Fix cmask_subset(), cmask_equal() and cmask_weight() 2026-07-09 11:08:41 -10:00
scripts tools build: Only probe the compiler at parse time when it is installed 2026-08-12 06:17:48 -07:00
sound
spi
testing perf tools fixes for v7.2. 2026-07-28 22:11:23 -07:00
thermal
time
tracing rtla: Also link in ctype.c 2026-07-08 10:38:18 +02:00
unittests
usb usbip: tools: support SuperSpeedPlus devices 2026-07-08 13:29:13 +02:00
verification verification/rvgen: Fix ltl2k writing True as a literal 2026-06-04 16:44:25 +02:00
virtio tools/virtio: add missing compat definitions for vhost_net_test 2026-07-01 19:02:56 -07:00
wmi
workqueue
writeback
Makefile