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