Re: collecting data from a shared library
Philippe Waroquiers via Valgrind-users <[email protected]> Wed, 17 Jun 2026 13:59:29 +0200
| Newsgroups | gmane.comp.debugging.valgrind |
|---|---|
| Message-ID | <[email protected]> |
Memcheck must analyze the whole program as otherwise it will not be able to track the state of the memory (if/and where allocated, freed, initialized, ...). Depending on the tool, you might (somewhat) restrict what it tracks. For example, with callgrind, you can start/stop recording the instructions executed using --toggle-collect=<func> Philippe On Tue, 2026-06-16 at 14:02 -0700, Mark Roberts wrote: > Is there a way to have a Valgrind tool, say memcheck, collect data from a > shared library, but not the program calling the library? > > Thank you, > Mark > > > _______________________________________________ > Valgrind-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/valgrind-users