[PATCH v2 0/4] perf tools: LLVM dwarf and flaky test fixes

From: James Clark

Date: Fri Nov 06 2026 - 05:52:04 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 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 | 6 ++-
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, 89 insertions(+), 48 deletions(-)
---
base-commit: 29fd95dbd25cda35ac1e38d096a85809e952274b
change-id: 20261104-james-perf-test-fixes-f72265531d1a

Best regards,
--
James Clark <james.clark@xxxxxxxxxx>