doc: add %p to valgrind log-file arg
Since the tests fork processes, a single log file is largely unreadable. PR-URL: https://github.com/libuv/libuv/pull/2383 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
97e86dde84
commit
ed128ef397
@ -387,7 +387,7 @@ $ gdb --args out/Debug/run-tests TEST_NAME
|
||||
Use the `--trace-children=yes` parameter:
|
||||
|
||||
```bash
|
||||
$ valgrind --trace-children=yes -v --tool=memcheck --leak-check=full --track-origins=yes --leak-resolution=high --show-reachable=yes --log-file=memcheck.log out/Debug/run-tests TEST_NAME
|
||||
$ valgrind --trace-children=yes -v --tool=memcheck --leak-check=full --track-origins=yes --leak-resolution=high --show-reachable=yes --log-file=memcheck-%p.log out/Debug/run-tests TEST_NAME
|
||||
```
|
||||
|
||||
### Running benchmarks
|
||||
|
||||
Loading…
Reference in New Issue
Block a user