#
✕ nick:mkf727
#asahi · 2021-11-12 17:09
mkf727thank you for the help maz and jannau!
#asahi · 2021-11-12 17:09
mkf727ah ok, i found the asahi docs for them, they are much friendlier to read also
#asahi · 2021-11-12 17:06
mkf727so is https://github.com/apple/darwin-xnu/blob/main/osfmk/arm64/kpc.c the best reference for it then?
#asahi · 2021-11-12 17:06
mkf727o
#asahi · 2021-11-12 17:01
mkf727have y'all reversed the PMCR0 and PMCR1 registers yet? i've found stuff here and there about them but i'm not quite sure if i have the right things enabled
#asahi · 2021-11-12 16:59
mkf727you're right, i had some sloppy C&P in my function that printed them out
#asahi · 2021-11-12 16:30
mkf727also with the DTLB_MISSES counter having counters 5,6,7 in the mask, do y'all know why it has multiple counters allocated? it seems to only count in 5 for me
#asahi · 2021-11-12 16:12
mkf727jannau: thanks!
#asahi · 2021-11-11 18:52
mkf727does anyone have any pointers for this? i've gone through some of dougall's stuff, but i think i'm missing something
#asahi · 2021-11-11 18:51
mkf727hey y'all, i am not on asahi linux, but i am trying to record DTLB misses using the counters of the PMC. i am having some issues figuring out if i've set the control and select registers to the right values since i cannot figure out which counter DTLB misses uses...