aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorShannon Zhao <[email protected]>2015-12-08 15:29:06 +0800
committerMarc Zyngier <[email protected]>2016-02-29 18:34:20 +0000
commit051ff581ce70e822729e9474941f3c206cbf7436 (patch)
tree3df20342cf7ae5df7afaed1116f3dd242cccefe2 /tools/perf/scripts/python/call-graph-from-postgresql.py
parenta86b5505304404dc5fc5e62a6dc294706e525003 (diff)
arm64: KVM: Add access handler for event counter register
These kind of registers include PMEVCNTRn, PMCCNTR and PMXEVCNTR which is mapped to PMEVCNTRn. The access handler translates all aarch32 register offsets to aarch64 ones and uses vcpu_sys_reg() to access their values to avoid taking care of big endian. When reading these registers, return the sum of register value and the value perf event counts. Signed-off-by: Shannon Zhao <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions