Commit | Line | Data |
---|---|---|
1622ba22 MD |
1 | liblttng-ust-libc is used for instrumenting some calls to libc in a |
2 | program, without need for recompiling it. | |
3 | ||
4 | This library defines a malloc() function that is instrumented with a | |
5 | tracepoint. It also calls the libc malloc afterwards. When loaded with | |
6 | LD_PRELOAD, it replaces the libc malloc() function, in effect | |
7 | instrumenting all calls to malloc(). The same is performed for free(). | |
8 | ||
9 | See the "run" script for a usage example. |