diff options
author | Shannon Zhao <[email protected]> | 2016-02-23 11:11:27 +0800 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2016-02-29 18:34:20 +0000 |
commit | 9feb21ac57d53003557ddc01f9aee496269996c7 (patch) | |
tree | 9a36bbeb24394c0ec290789a71c44532149aeb98 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 7f7663587165fe1a81c3390358cb70eb7234706f (diff) |
arm64: KVM: Add access handler for event type register
These kind of registers include PMEVTYPERn, PMCCFILTR and PMXEVTYPER
which is mapped to PMEVTYPERn or PMCCFILTR.
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 writing to these registers, create a perf_event for the selected
event type.
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