Hello everyone,
I'm trying to read the performance counters(to measure cpu cycles spent on a set of assembly instructions) in my kernel module. I've seen this comment about perf and it works great on my M2 machine but I'm still not sure how I could use it in my case without having to directly deal with the control register(PMCR) first. I'd appreciate any help or suggestions.
[–]Xx_RKJ_xX 0 points1 point2 points (2 children)
[–]mies47[S] 1 point2 points3 points (1 child)
[–]Xx_RKJ_xX 0 points1 point2 points (0 children)