mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
pmccntr: make section title clearer
This commit is contained in:
@@ -12387,7 +12387,7 @@ Bibliography:
|
|||||||
* https://en.wikipedia.org/wiki/Time_Stamp_Counter
|
* https://en.wikipedia.org/wiki/Time_Stamp_Counter
|
||||||
* https://stackoverflow.com/questions/9887839/clock-cycle-count-wth-gcc/9887979
|
* 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 <<x86-rdtsc-instruction>>: 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:
|
TODO We didn't manage to find a working ARM analogue to <<x86-rdtsc-instruction>>: 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:
|
||||||
|
|
||||||
|
|||||||
@@ -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 <linux/debugfs.h>
|
#include <linux/debugfs.h>
|
||||||
#include <linux/errno.h> /* EFAULT */
|
#include <linux/errno.h> /* EFAULT */
|
||||||
|
|||||||
Reference in New Issue
Block a user