Skip to content
Snippets Groups Projects
Commit 57d74123 authored by Will Deacon's avatar Will Deacon
Browse files

arm64: 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 10 bits of our config field on ARMv8 (PMUv3).

Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent abff083c
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment