Skip to contentSkip to conversation

GCOV on arm - no files but /debug/reset

DISCUSSION Karol 1 participant 2 messages Jul 22, 2010 – Jul 23, 2010

lore
Share & tools
lore

Karol

author
#0 lore raw

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.

author
#1 lore raw
Quoted 5 lines · Karol

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.

Ok, it's almost empty - it contain only "reset" file.

I should add that I'm using 2.6.35-rc3 kernel.