How do I tell valgrind to memcheck forked processes?
How do I tell valgrind to memcheck forked processes? c
c
How do I tell valgrind to memcheck forked processes?
- Valgrind follows forked processes when given the
--trace-children=yes
option. - You should be able to achieve this by using suitable filters.
- No. Valgrind hooks into the module loading code using LD_PRELOAD, so attaching to a running process is not possible.