Skip to contentSkip to conversation

doc: how to trace consumerd with valgrind

PATCH Jérémie Galarneau 1 participant 1 message May 9, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

Jérémie

Quoted 21 lines · Mathieu Desnoyers
---
 doc/valgrind-howto.txt | 5 +++++
 1 file changed, 5 insertions(+)
doc/valgrind-howto.txt +5 -1
index 68dcaba..b1910e0 100644
@@ -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

Signature · 7 lines
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev