aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2021-11-23 19:51:52 +1000
committerMichael Ellerman <[email protected]>2021-11-24 21:08:58 +1100
commit401e1ae372673664465d45a86975c006dc6a488d (patch)
tree5fea6b042b9c9a5328ea8941a02729a1c7b70b8e /tools/perf/scripts/python/netdev-times.py
parent57dc0eed73caa31bfe36ce8fed234e214e37a5ae (diff)
KVM: PPC: Book3S HV P9: Factor PMU save/load into context switch functions
Rather than guest/host save/retsore functions, implement context switch functions that take care of details like the VPA update for nested. The reason to split these kind of helpers into explicit save/load functions is mainly to schedule SPR access nicely, but PMU is a special case where the load requires mtSPR (to stop counters) and other difficulties, so there's less possibility to schedule those nicely. The SPR accesses also have side-effects if the PMU is running, and in later changes we keep the host PMU running as long as possible so this code can be better profiled, which also complicates scheduling. Signed-off-by: Nicholas Piggin <[email protected]> Reviewed-by: Athira Jajeev <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions