diff options
| author | Andi Kleen <[email protected]> | 2014-08-08 00:08:54 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2014-08-13 05:51:12 +0000 |
| commit | 03de874aa76ac0adcf6f56ebf3de623d09a5dde3 (patch) | |
| tree | c4190d88c46dea2838ed6e5c4700cdd4b527764b /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | perf: Do poll_wait() before checking condition in perf_poll() (diff) | |
| download | kernel-03de874aa76ac0adcf6f56ebf3de623d09a5dde3.tar.gz kernel-03de874aa76ac0adcf6f56ebf3de623d09a5dde3.zip | |
perf/x86: Fix :pp without LBR
This fixes a side effect of Kan's earlier patch to probe the LBRs at boot
time. Normally when the LBRs are disabled cycles:pp is disabled too.
So for example cycles:pp doesn't work.
However this is not needed with PEBSv2 and later (Haswell) because
it does not need LBRs to correct the IP-off-by-one.
So add an extra check for PEBSv2 that also allows :pp
Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: [email protected]
Cc: Arnaldo Carvalho de Melo <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
