[lttng-dev] [PATCH lttng-tools] doc: how to trace consumerd with valgrind

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Mon May 8 12:38:37 UTC 2017

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
 doc/valgrind-howto.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/valgrind-howto.txt b/doc/valgrind-howto.txt
index 68dcaba..b1910e0 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

More information about the lttng-dev mailing list