File: valgrind-howto.txt

package info (click to toggle)
ltt-control 2.13.15-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 17,656 kB
  • sloc: ansic: 167,287; sh: 27,018; makefile: 2,828; python: 1,380; yacc: 692; lex: 129; java: 109; perl: 99; cpp: 35; xml: 23
file content (9 lines) | stat: -rw-r--r-- 348 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
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