aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMadhavan Srinivasan <[email protected]>2017-12-20 09:25:55 +0530
committerMichael Ellerman <[email protected]>2018-01-19 22:37:03 +1100
commitc6424382de996c216e81cfccf5cf2371157df651 (patch)
tree48f520f96895adaeeb59c7c44a08fd41cdf713a9 /tools/perf/scripts/python
parent9aa88188ee87f4cc5c4e1bce15754bfcde8e900f (diff)
powerpc/64s: Add new set of irq_soft_mask_ functions for PMI masking
To support soft-masking of the performance monitor interrupt, a set of new powerpc_local_irq_pmu_save() and powerpc_local_irq_restore() functions are added. And powerpc_local_irq_save() implemented, by adding a new irq_soft_mask manipulation function irq_soft_mask_or_return(). Local_irq_pmu_* macros are provided to access these powerpc_local_irq_pmu* functions which includes trace_hardirqs_on|off() to match what we have in include/linux/irqflags.h. Signed-off-by: Madhavan Srinivasan <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions