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.8.7~15 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d2a459da77243b7d0b28fe905edfa722c6a84967;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