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

Martin Kaiser posted 3 patches 1 month, 2 weeks ago
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(-)
[PATCH v2 0/3] perf: fix some tests for musl
Posted by Martin Kaiser 1 month, 2 weeks ago
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
Re: [PATCH v2 0/3] perf: fix some tests for musl
Posted by Namhyung Kim 1 month, 2 weeks ago
On Tue, Apr 28, 2026 at 04:38:45PM +0200, Martin Kaiser wrote:
> 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

Acked-by: Namhyung Kim <namhyung@kernel.org>

Thanks,
Namhyung

> 
>  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
>