Browse Source
I tracked down a bug, and couldn't figure out why valgrind wasn't finding it. From man valgrind: --log-file=<filename> Specifies that Valgrind should send all of its messages to the specified file. If the file name is empty, it causes an abort. There are three special format specifiers that can be used in the file name. %p is replaced with the current process ID. This is very useful for program that invoke multiple processes. WARNING: If you use --trace-children=yes and your program invokes multiple processes OR your program forks without calling exec afterwards, and you don't use this specifier (or the %q specifier below), the Valgrind output from all those processes will go into one file, possibly jumbled up, and possibly incomplete. "possibly incomplete" indeed! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>ppa-0.6.1
1 changed files with 10 additions and 5 deletions
Loading…
Reference in new issue