diff options
author | Chang S. Bae <chang.seok.bae@intel.com> | 2025-02-26 04:07:27 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-02-26 15:05:29 +0300 |
commit | 10d8a204c5009fb8a6cb2790d17b5611b795c349 (patch) | |
tree | 8db23b377a531a930c89073acc8cab48f2a6115a /tools/perf/scripts/python/task-analyzer.py | |
parent | e075d9fa16b3681b8a375cb47f4b5a1901e93530 (diff) | |
download | linux-10d8a204c5009fb8a6cb2790d17b5611b795c349.tar.xz |
selftests/x86/xstate: Consolidate test invocations into a single entry
Currently, each of the three xstate tests runs as a separate invocation,
requiring the xstate number to be passed and state information to be
reconstructed repeatedly. This approach arose from their individual and
isolated development, but now it makes sense to unify them.
Introduce a wrapper function that first verifies feature availability
from the kernel and constructs the necessary state information once. The
wrapper then sequentially invokes all tests to ensure consistent
execution.
Update the AMX test to use this unified invocation.
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20250226010731.2456-8-chang.seok.bae@intel.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions