gcov-kernel patch

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

 



Hi,

I am trying to use the gcov-kernel patch that allows for the relocation of the source based on the environmental variables GCOV_PREFIX and GCOV_PREFIX_STRIP.  The problem that I am having is that the environmental variables don't seem to have any effect in relocating the source when processing or generating the .gcda files.  The following sort of depicts my configuration:

Sys A: cross-compiled source in path /home/user/tmp/work/linux-2.6.16/... for
       Sys B, producing .gcno files

Sys B: generates the .gcda files (I set GCOV_PREFIX_STRIP=4 here but had no
       effect)

Sys C: (inside /somedir which contains linux-2.6.16, a directory that now
       contains the source as well as both .gcno and .gcda files) executed
       'lcov -c -o somefile.info -d linux-2.6.16' here and produced an error
       that indicated it could not find my source in 
       /home/user/tmp/linux-2.6.16/... although once again I set
       GCOV_PREFIX_STRIP=4.

On which system should the environmental variable(s) be set/used?

Thanks,
Rodney




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux