Signed-off-by: Mathieu Desnoyers <[email protected]>
---
 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
-- 
2.1.4

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to