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.11.0-rc1~594 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=4a82ca8ba74b28186652f228a0f479748b6120c3;ds=sidebyside 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