summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWake Liu <wakel@google.com>2026-06-24 07:02:23 +0000
committerThomas Gleixner <tglx@kernel.org>2026-07-05 21:49:18 +0200
commit50c121e5a57abe446e46825fb9c69ac419765d5c (patch)
tree6b12ceb33d8276dac9ed3ede760631af46f85d93 /tools/perf/scripts/python
parent90a0286c7d3591295a55c97319de322159993c21 (diff)
selftests/futex: Dynamically skip unsupported tests
Some new futex tests rely on kernel features that may not be supported on all configurations (e.g., FUTEX2_NUMA or PR_FUTEX_HASH). Currently, these tests fail with EINVAL when the features are missing. Add dynamic skip logic to: - futex_priv_hash: Skip if PR_FUTEX_HASH returns ENOSYS or EINVAL. - futex_numa_mpol: Skip if futex2 or FUTEX2_NUMA returns ENOSYS or EINVAL. This allows the tests to pass (as SKIPPED) on kernels without support, while preserving coverage on configurations that do support them. [ tglx: Adapt to harness changes, massage change log ] Signed-off-by: Wake Liu <wakel@google.com> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20260624070223.1533167-1-wakel@google.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions