gcov tool data - for a specific kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I’m trying to use the ‘gcov’ tool for an out-of-tree kernel module.

For this, I configured the kernel with “CONFIG_DEBUGFS=y” ,
“CONFIG_GCOV_KERNEL=y” and mounted the debugfs.

I noticed that “file.gcno” file generated by gcc when compiling with
option -ftest-coverage. I’d like to know how to generate “file.gcda”?

I’ve few test utilities(ELF 64-bit LSB  executables and python test
scripts) to test our driver. I’d like to understand how to get the
code coverage data for my driver on running my test scripts, can
someone please clarify me on this?


-- 
Thanks,
Sekhar

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux