#asahi · 2023-12-04 13:41
shad3e.g. how to register a pmi handler etc on macos#asahi · 2023-12-04 13:41
shad3I do get it that's a bit off topic, but do you by any chance know if there's any documentation out there (knowing apple i highly doubt it) about the Framework/Library that works as a front end to PMU stuff#asahi · 2023-12-04 13:40
shad3anyway thanks, you answered my question #asahi · 2023-12-04 13:38
shad3i would expect them to not physically burn the registers on the chip#asahi · 2023-12-04 13:38
shad3pmu can be considered low level as well (not as low level as coresight though)#asahi · 2023-12-04 13:38
shad3Yy instruments uses them#asahi · 2023-12-04 13:37
shad3ah so the PMU counters, do work normally as expected ... interesting#asahi · 2023-12-04 13:35
shad3any other cpu counters ?#asahi · 2023-12-04 13:32
shad3hi again any update regarding my q ?#asahi · 2023-12-04 08:30
shad3https://www.kernel.org/doc/html/v5.4/trace/coresight.html). If I install asahi, recompile the kernel with coresight enable "CONFIG_CORESIGHT=y" and load the relevant module would i be able to use those registers ?#asahi · 2023-12-04 08:30
shad3Hi everyone, never tried asahi b4, but i was wondering the following: In 2019 bazad developed a debuggable iPhone based on the CoreSight registers that were left enabled on A11. ( Ref: https://googleprojectzero.blogspot.com/2019/10/ktrw-journey-to-build-debuggable-iphone.html) . Since then, (afaik at least) you cannot access those registers on a normal macOS installation as you would for example on a linux installation (Ref