[PATCH v2 0/3] perf: fix some tests for musl

From: Martin Kaiser

Date: Tue Apr 28 2026 - 11:12:33 EST


Fix some perf tests for systems that use musl instead of glibc.

v2:
- add Namhyung's Acked-by for patch 1
- stricter flags check for patch 2
- more generic workload in patch 3

Martin Kaiser (3):
perf test: fix nanosleep check in the ftrace test
perf test: fix sys_enter_openat event test for musl
perf test: fix "trace summary" test for musl-based systems

tools/perf/tests/openat-syscall-tp-fields.c | 5 ++++-
tools/perf/tests/shell/ftrace.sh | 7 ++++---
tools/perf/tests/shell/trace_summary.sh | 2 +-
3 files changed, 9 insertions(+), 5 deletions(-)

--
2.43.7