X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=doc%2Fvalgrind-howto.txt;fp=doc%2Fvalgrind-howto.txt;h=b1910e0a8d41e2dd87b63754bdd7e4ab591e8781;hb=d2a459da77243b7d0b28fe905edfa722c6a84967;hp=68dcaba1cb654bb6a2ce07e8bf2a3a8b4d5fdeac;hpb=a499920804d9367d78d5bf0b8f327b0c0029ba5d;p=lttng-tools.git 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