diff options
author | Will Deacon | 2015-12-22 15:42:57 +0100 |
---|---|---|
committer | Will Deacon | 2015-12-22 15:42:57 +0100 |
commit | abff083ce2046b4d55211c1db5992ec2dd391f3d (patch) | |
tree | 71d68d01315e37875b6811a7786bc065334724dc /arch/arm64/kernel/perf_event.c | |
parent | arm64: kernel: enforce pmuserenr_el0 initialization and restore (diff) | |
download | kernel-qcow2-linux-abff083ce2046b4d55211c1db5992ec2dd391f3d.tar.gz kernel-qcow2-linux-abff083ce2046b4d55211c1db5992ec2dd391f3d.tar.xz kernel-qcow2-linux-abff083ce2046b4d55211c1db5992ec2dd391f3d.zip |
ARM: perf: add format entry to describe event -> config mapping
It's all very well providing an events directory to userspace that
details our events in terms of "event=0xNN", but if we don't define how
to encode the "event" field in the perf attr.config, then it's a waste
of time.
This patch adds a single format entry to describe that the event field
occupies the bottom 8 bits of our config field on ARMv7.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/perf_event.c')
0 files changed, 0 insertions, 0 deletions