Home
last modified time | relevance | path

Searched hist:"3 cce331ee2a4cc99328757a9bd297ad9a39609e8" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/perf/
H A Dapple_m1_cpu_pmu.cdiff 3cce331ee2a4cc99328757a9bd297ad9a39609e8 Wed Aug 07 04:35:18 CEST 2024 Yangyu Chen <cyy@cyyself.name> drivers/perf: apple_m1: add known PMU events

This patch adds known PMU events that can be found on /usr/share/kpep in
macOS. The m1_pmu_events and m1_pmu_event_affinity are generated from
the script [1], which consumes the plist file from Apple. And then added
these events to m1_pmu_perf_map and m1_pmu_event_attrs with Apple's
documentation [2].

Link: https://github.com/cyyself/m1-pmu-gen [1]
Link: https://developer.apple.com/download/apple-silicon-cpu-optimization-guide/ [2]
Signed-off-by: Yangyu Chen <cyy@cyyself.name>
Acked-by: Hector Martin <marcan@marcan.st>
Link: https://lore.kernel.org/r/tencent_C5DA658E64B8D13125210C8D707CD8823F08@qq.com
Signed-off-by: Will Deacon <will@kernel.org>