summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2026-08-24 16:27:14 +0800
committerPeter Zijlstra <peterz@infradead.org>2026-09-02 13:10:41 +0200
commit03b89c9f202ee75c9997a8421f0e09a5590c3878 (patch)
tree1279134a334e34b34c42b0042ebe348b0f65b891 /tools/perf/scripts/python/flamegraph.py
parent9c05620b49718544ba163c2ccc3c5a6b1f0bc8b0 (diff)
x86/fpu/xstate: Add xsaves_nmi() helper
Add xsaves_nmi() to save supported xsave states in NMI handler. This function is similar to xsaves(), but should only be called within the NMI handler. This function returns the actual register contents at the moment the NMI occurs. Currently the perf subsystem is the sole user of this helper. It uses this function to snapshot SIMD (XMM/YMM/ZMM) and APX eGPRs registers which would be added in subsequent patches. Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20260824082731.1013973-7-dapeng1.mi@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions