TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: AEN@SPAMTRAP.COM
from: AEN@SPAMTRAP.COM
date: 2017-07-14 19:14:00
subject: Re: 64-bit Linux

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)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.