GCOV Support for Redhat Kernel
Hi,
I have enabled gcov in rhel kernel as below:
CONFIG_GCOV_KERNEL=y
CONFIG_GCOV_PROFILE_ALL=y
CONFIG_GCOV_FORMAT_AUTODETECT=y
CONFIG_GCOV_FORMAT_3_4 is not set
CONFIG_GCOV_FORMAT_4_7 is not set
Makefile also has define WITH_GCOV 1
The build and boot were successful.
Now, while building kernel modules, I can see that there are {filename.mod.c}, and {filename.mod.o} files generated.
but their gcno files {filename.mod.gcno} is just of 12bytes for all the modules and don't seem to help get coverage.
Any suggestions please.
Thanks