doc: how to trace consumerd with valgrind
[lttng-tools.git] / doc / valgrind-howto.txt
index 68dcaba1cb654bb6a2ce07e8bf2a3a8b4d5fdeac..b1910e0a8d41e2dd87b63754bdd7e4ab591e8781 100644 (file)
@@ -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
This page took 0.022685 seconds and 4 git commands to generate.