Commit | Line | Data |
---|---|---|
1c353010 DG |
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 |