aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorAndi Kleen <[email protected]>2015-02-27 09:48:32 -0800
committerIngo Molnar <[email protected]>2015-04-02 17:33:17 +0200
commit15fde1101a1aed11958e0d86bc360f01866a74b1 (patch)
tree758a1a7f663228565804afd0568fa4b1a20d98b4 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentda3e606d885a17525eb18afd423f5c438860b833 (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 <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions