This series fixes two issues with the perf_hwbreak test: - Test fails on systems with large number of cpus due to hitting the resource limit for maximum number of open file descriptors. - Test fails on systems running with lower SMT levels since it assumes all cpus are online.
Fix those issues. The first patch is a small cleanup to aid subsequent fixes. - Naveen Naveen N. Rao (3): selftests/powerpc: Move perror closer to its use selftests/powerpc: Bump up rlimit for perf-hwbreak test selftests/powerpc: Account for offline cpus in perf-hwbreak test .../selftests/powerpc/ptrace/perf-hwbreak.c | 78 +++++++++++++------ 1 file changed, 56 insertions(+), 22 deletions(-) base-commit: eb05539de71d4784705d3e502d951ac17fea05e3 -- 2.38.1