From ed128ef3978562e668737095f2b9439257a67325 Mon Sep 17 00:00:00 2001 From: Zach Bjornson Date: Sun, 21 Jul 2019 18:44:59 +0000 Subject: [PATCH] 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 Reviewed-By: Colin Ihrig --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 11874cdb..b55c3a92 100644 --- a/README.md +++ b/README.md @@ -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