[PATCH v4 0/4] perf tools: LLVM dwarf and flaky test fixes
From: James Clark
Date: Mon Nov 09 2026 - 08:53:49 EST
Running the tests on an LLVM build results in some dwarf issues that
need fixing. And there is an easy fix for some flakiness caused when
tests are run in parallel.
Assisted by Claude Opus 5.5
Signed-off-by: James Clark <james.clark@xxxxxxxxxx>
---
Changes in v4:
- Remove unused add_probe_vfs_getname() argument to fix shellcheck.
- Link to v3: https://patch.msgid.link/20261109-james-perf-test-fixes-v3-0-e8d0a65e618a@xxxxxxxxxx
Changes in v3:
- Rebase to resolve new conflicts
- Link to v2: https://patch.msgid.link/20261106-james-perf-test-fixes-v2-0-9a912662f822@xxxxxxxxxx
Changes in v2:
- Break perf probe line (Namhyung)
- Use a software event instead of cycles for VM compatibility (Namhyung)
- Link to v1: https://patch.msgid.link/20261105-james-perf-test-fixes-v1-0-0b279bee5830@xxxxxxxxxx
---
James Clark (4):
perf libdw: Find the CU by iterating all CUs when aranges are missing
perf dwarf-aux: Support DW_OP_addrx locations for global variables
perf test probe_vfs_getname: Fix missing debuginfo detection
perf test: Don't starve per-process tests with system-wide events
tools/perf/tests/shell/lib/probe_vfs_getname.sh | 9 ++--
tools/perf/tests/shell/record.sh | 6 +--
tools/perf/tests/shell/record_lbr.sh | 2 +-
tools/perf/tests/shell/record_sideband.sh | 4 +-
tools/perf/util/annotate-data.c | 27 +---------
tools/perf/util/dwarf-aux.c | 70 ++++++++++++++++++++++---
tools/perf/util/dwarf-aux.h | 3 ++
tools/perf/util/libdw.c | 19 +++----
8 files changed, 90 insertions(+), 50 deletions(-)
---
base-commit: 13a8d580433a3b72b10be34f0e26787fe5659d3c
change-id: 20261104-james-perf-test-fixes-f72265531d1a
Best regards,
--
James Clark <james.clark@xxxxxxxxxx>