]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drivers/perf: apple_m1: Map generic branch events
authorOliver Upton <oliver.upton@linux.dev>
Tue, 17 Dec 2024 21:20:33 +0000 (13:20 -0800)
committerWill Deacon <will@kernel.org>
Fri, 10 Jan 2025 13:32:56 +0000 (13:32 +0000)
commit4575353d82e253ac14bb0d3fc2034bfad2f2e64e
treed70c0fc844ad1d3ca14606e99fc9f827ffa631ab
parent555c6e9b03c15edfd4020a8aa5ae7efc142c44e8
drivers/perf: apple_m1: Map generic branch events

Map the generic perf events for branch prediction stats to the
corresponding hardware events.

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Tested-by: Janne Grunau <j@jannau.net>
Link: https://lore.kernel.org/r/20241217212048.3709204-4-oliver.upton@linux.dev
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/apple_m1_cpu_pmu.c