[PATCH 0/3] selftests/powerpc: ptrace/perf_hwbreak test fixes

Naveen N. Rao naveen.n.rao at linux.vnet.ibm.com
Tue Nov 22 17:40:51 AEDT 2022


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



More information about the Linuxppc-dev mailing list