From 4a82ca8ba74b28186652f228a0f479748b6120c3 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 8 May 2017 08:38:37 -0400 Subject: [PATCH] doc: how to trace consumerd with valgrind MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- doc/valgrind-howto.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/valgrind-howto.txt b/doc/valgrind-howto.txt index 68dcaba1c..b1910e0a8 100644 --- a/doc/valgrind-howto.txt +++ b/doc/valgrind-howto.txt @@ -2,3 +2,8 @@ Build lttng-tools with "-DVALGRIND" to create executables compatible with the valgrind tool. The start with e.g.: valgrind --leak-check=full lttng-sessiond + +If you want to track memory allocations and accesses within +lttng-sessiond children processes (e.g. lttng-consumerd) as well: + +valgrind --leak-check=full --trace-children=yes lttng-sessiond -- 2.34.1