[memleak] Add memleak directory and script to start program with it
[lttng-tools.git] / memleak / README
1 LTTng memleak finder
2
3 example usage:
4 LD_PRELOAD=./lttng-memleak-finder.so lttng-sessiond
5
6 If you get e.g.:
7
8 [warning] trying to free unallocated ptr 0x18b2a70 caller 0x7fae7943dd57
9 or
10 [leak] ptr: 0x18b2350 size: 0x160 caller: 0x7fae7943e28f <symbol>
11
12 If you need to see local symbols as well, try compiling your code with
13 -Wl,--export-dynamic .
14
15 Mathieu Desnoyers, May 2013
This page took 0.030924 seconds and 4 git commands to generate.