[RFC V4 3/4] perf: qcom: Add PC capture support to CPU PMU

2018-07-05 Thread Agustin Vega-Frias
PC capture is an IMPLEMENTATION DEFINED extension to the ARMv8 PMUv3 that allows more precise PC sampling by storing the PC in a separate system register when an event counter overflow occurs. Reduces skid and allows sampling when interrupts are disabled (since the PMI is a maskable interrupt in

[RFC V4 3/4] perf: qcom: Add PC capture support to CPU PMU

2018-07-05 Thread Agustin Vega-Frias
PC capture is an IMPLEMENTATION DEFINED extension to the ARMv8 PMUv3 that allows more precise PC sampling by storing the PC in a separate system register when an event counter overflow occurs. Reduces skid and allows sampling when interrupts are disabled (since the PMI is a maskable interrupt in