From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
To: jgalar@efficios.com
Cc: lttng-dev@lists.lttng.org
Subject: [PATCH lttng-tools] doc: how to trace consumerd with valgrind
Date: Mon, 8 May 2017 08:38:37 -0400 [thread overview]
Message-ID: <1494247117-15085-1-git-send-email-mathieu.desnoyers__9783.35393961078$1494247135$gmane$org@efficios.com> (raw)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@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
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
next reply other threads:[~2017-05-08 12:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-08 12:38 Mathieu Desnoyers [this message]
[not found] <1494247117-15085-1-git-send-email-mathieu.desnoyers@efficios.com>
2017-05-09 12:37 ` [PATCH lttng-tools] doc: how to trace consumerd with valgrind Jérémie Galarneau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='1494247117-15085-1-git-send-email-mathieu.desnoyers__9783.35393961078$1494247135$gmane$org@efficios.com' \
--to=mathieu.desnoyers@efficios.com \
--cc=jgalar@efficios.com \
--cc=lttng-dev@lists.lttng.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.