public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Gcov produces too little output
@ 2023-01-25 12:20 Edgar Mobile
  0 siblings, 0 replies; only message in thread
From: Edgar Mobile @ 2023-01-25 12:20 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 693 bytes --]

Greetings,

I try to instrument a large, multithreaded X64 Linux application with several shared objects for code instrumentation using g++ --coverage flag.
It creates a gcno file for every module but when I run the application almost no modules produce a gcda file. It should be noted that the binaries for the main application and the shared objects are moved to a different location to have them all in one place. But I cannot imagine which information it tries to access that fails the output.

The program outputs gcda files for some modules, but I do not see an obvious pattern.

I tried to end the application with SIGTERM and Ctrl-C.

Any ideas how to debug this?

Regards

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-25 12:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-25 12:20 Gcov produces too little output Edgar Mobile

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).