GCOV on arm - no files but /debug/reset
Hello,
I'm trying to use GCOV profiling on ARM architecture without much success.
I've enabled CONFIG_GCOV=y in .config and added "GCOV_PROFILE := y" to
bunch of Makefiles (in kernel/, fs/, etc.). According to the docs
(Documentation/gcov.txt) debugfs should be automatically populated with profile files along with symlinks to sources. However, my <debugfs>/gcov directory is empty.
I've tested old LTP's gcov patches (to kernel 2.6.25, I think) and it worked as expected.
Am I missing something obvious? Hints?
Thanks in advance.
Quoted 5 lines · Karol
I've enabled
CONFIG_GCOV=yin .config and added "GCOV_PROFILE:= y" to
bunch of Makefiles (inkernel/,fs/, etc.). According to the docs
(Documentation/gcov.txt) debugfs should be automatically populated with profile files along with symlinks to sources. However, my <debugfs>/gcov directory is empty.
Ok, it's almost empty - it contain only "reset" file.
I should add that I'm using 2.6.35-rc3 kernel.