On Tue, 11 Jul 2017 12:25:30 GMT, aen@spamtrap.com wrote:
>I now followed the description and compiled the kernel. That worked
>fine (4.10.17-v8+ is now installed), but I didn't find a way to enable
>the cycle counters in the compilation with make menuconfig or in any
>other way.
>
>How can this be done?
Solved:
I found the source for a kernel module on the net:
and dug out the Makefile I used for the same module on an RPI2:
Makefile:
obj-m := perf.o
all:
$(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD)
modules
clean:
$(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
which produced a nice kernel module.
--
aen
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|