aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorKan Liang <[email protected]>2020-07-03 05:49:27 -0700
committerPeter Zijlstra <[email protected]>2020-07-08 11:38:56 +0200
commit50f408d96d4d1a945d2c50c5fd8ed400883edf0e (patch)
tree4c3cd86d7697a86da65cacdc2765d076270a685b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentf0dccc9da4c0fda049e99326f85db8c242fd781f (diff)
x86/fpu/xstate: Add helpers for LBR dynamic supervisor feature
The perf subsystem will only need to save/restore the LBR state. However, the existing helpers save all supported supervisor states to a kernel buffer, which will be unnecessary. Two helpers are introduced to only save/restore requested dynamic supervisor states. The supervisor features in XFEATURE_MASK_SUPERVISOR_SUPPORTED and XFEATURE_MASK_SUPERVISOR_UNSUPPORTED mask cannot be saved/restored using these helpers. The helpers will be used in the following patch. Signed-off-by: Kan Liang <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Dave Hansen <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions