From: Mathieu Desnoyers Date: Mon, 8 May 2017 12:38:37 +0000 (-0400) Subject: doc: how to trace consumerd with valgrind X-Git-Tag: v2.10.0-rc2~73 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=90e4652c7e6c46cb3b21d6320a5ed4fe111fda4f;p=lttng-tools.git doc: how to trace consumerd with valgrind Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- 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