Re: Getting gcov's output when the program is killed

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

 



ludo@xxxxxxx (Ludovic Courtès) writes:

> How can gcov be told to flush its coverage data to disk when the program
> is killed?

If you can catch the signal, call __gcov_flush().  If you can't catch
the signal, you're out of luck.  Well, I suppose you could have the
program call __gcov_flush every so often.

Ian


[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