diff --git a/README.adoc b/README.adoc index 87d1470..926c7cf 100644 --- a/README.adoc +++ b/README.adoc @@ -12387,7 +12387,7 @@ Bibliography: * https://en.wikipedia.org/wiki/Time_Stamp_Counter * https://stackoverflow.com/questions/9887839/clock-cycle-count-wth-gcc/9887979 -==== ARM pmccntr +==== ARM PMCCNTR register TODO We didn't manage to find a working ARM analogue to <>: link:kernel_modules/pmccntr.c[] is oopsing, and even it if weren't, it likely won't give the cycle count since boot since it needs to be activate before it starts counting anything: diff --git a/kernel_modules/pmccntr.c b/kernel_modules/pmccntr.c index 9ddccf3..31f3284 100644 --- a/kernel_modules/pmccntr.c +++ b/kernel_modules/pmccntr.c @@ -1,4 +1,4 @@ -/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-pmccntr */ +/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-pmccntr-register */ #include #include /* EFAULT */