summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorChang S. Bae <chang.seok.bae@intel.com>2025-02-26 04:07:22 +0300
committerIngo Molnar <mingo@kernel.org>2025-02-26 15:05:28 +0300
commit0f6d91a327db4a36d6febb74d833cdc668c8661b (patch)
treed35d187bfd40b3c8fc25bc32a4caf5162f90a08b /tools/perf/scripts/python/task-analyzer.py
parentdbd6b649e7d5b66c7fa95a65d67b59cf5b45f0ac (diff)
downloadlinux-0f6d91a327db4a36d6febb74d833cdc668c8661b.tar.xz
selftests/x86/xstate: Refactor XSAVE helpers for general use
The AMX test introduced several XSAVE-related helper functions, but so far, it has been the only user of them. These helpers can be generalized for broader test of multiple xstate features. Move most XSAVE-related code into xsave.h, making it shareable. The restructuring includes: * Establishing low-level XSAVE helpers for saving and restoring register states, as well as handling XSAVE buffers. * Generalizing state data manipuldations: set_rand_data() * Introducing a generic feature query helper: get_xstate_info() While doing so, remove unused defines in amx.c. 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-3-chang.seok.bae@intel.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions