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

Jérémie Galarneau jeremie.galarneau at efficios.com
Tue May 9 12:37:22 UTC 2017


Merged in master, stable-2.10, stable-2.9 and stable-2.8, thanks!

Jérémie

On 8 May 2017 at 08:38, Mathieu Desnoyers
<mathieu.desnoyers at efficios.com> wrote:
> 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
> --
> 2.1.4
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com


More information about the lttng-dev mailing list