From 43ff5ced56bd34d7841f507fc8eee387400d1f51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Thu, 6 Jun 2019 00:00:02 +0000 Subject: [PATCH] pmccntr: make section title clearer --- README.adoc | 2 +- kernel_modules/pmccntr.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 */