aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorAnton Blanchard <[email protected]>2011-03-09 03:38:42 +0000
committerIngo Molnar <[email protected]>2011-03-16 13:04:13 +0000
commit0837e3242c73566fc1c0196b4ec61779c25ffc93 (patch)
treedb77cdc93b99b1433b73a461f44543983af746bc /tools/perf/util/trace-event-scripting.c
parentperf, x86: Use INTEL_*_CONSTRAINT() for all PEBS event constraints (diff)
downloadkernel-0837e3242c73566fc1c0196b4ec61779c25ffc93.tar.gz
kernel-0837e3242c73566fc1c0196b4ec61779c25ffc93.zip
perf, powerpc: Handle events that raise an exception without overflowing
Events on POWER7 can roll back if a speculative event doesn't eventually complete. Unfortunately in some rare cases they will raise a performance monitor exception. We need to catch this to ensure we reset the PMC. In all cases the PMC will be 256 or less cycles from overflow. Signed-off-by: Anton Blanchard <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Cc: <[email protected]> # as far back as it applies cleanly LKML-Reference: <20110309143842.6c22845e@kryten> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions