diff options
author | Andi Kleen <ak@linux.intel.com> | 2015-02-27 12:48:32 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-04-02 11:33:17 -0400 |
commit | 15fde1101a1aed11958e0d86bc360f01866a74b1 (patch) | |
tree | 758a1a7f663228565804afd0568fa4b1a20d98b4 /README | |
parent | da3e606d885a17525eb18afd423f5c438860b833 (diff) |
perf/x86: Only dump PEBS register when PEBS has been detected
Technically PEBS_ENABLED is only guaranteed to exist when we
detected PEBS. So add a check for this to the PMU dump function.
I don't think it can happen on a real CPU, but could in a VM.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: eranian@google.com
Link: http://lkml.kernel.org/r/1425059312-18217-4-git-send-email-andi@firstfloor.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions