aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2020-06-24 09:41:39 +1000
committerMichael Ellerman <[email protected]>2020-07-16 13:00:24 +1000
commitb2b46304e9360f3dda49c9d8ba4a1478b9eecf1d (patch)
tree8274b88fe87bc0005a27b6478ebcdba9f8a4ca74 /tools/perf/scripts/python/flamegraph.py
parent01eb01877f3386d4bd5de75909abdd0af45a5fa2 (diff)
powerpc: re-initialise lazy FPU/VEC counters on every fault
When a FP/VEC/VSX unavailable fault loads registers and enables the facility in the MSR, re-set the lazy restore counters to 1 rather than incrementing them so every fault gets the same number of restores before the next fault. This probably shouldn't be a practical change because if a lazy counter was non-zero then it should have been restored and would not cause a fault when userspace tries to access it. However the code and comment implies otherwise so that's misleading and unnecessary. Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions