Would you please teach me more ?
>It seems that s2io is a kernel module. To get coverage information for
this module you >need to load it and run lcov while it is loaded.
It works. Execute the command modprobe s2io,then I see information about
s2io.c and s2io.h.
>Alternatively you can use thegcov_persist option of gcov_proc to get
coverage information >even when the module has been unloaded. But is has to
be loaded at least once.
Do you mean Execute the command gcov_persist 1 > /proc/gcov/vmlinux ? It
doesn't work.Error:command not found
与联机的朋友进行交流，请使用 MSN Messenger: http://messenger.msn.com/cn