Blame liblttng-ust-libc-wrapper/README
|
Packit |
c04fcb |
liblttng-ust-libc is used for instrumenting some calls to libc in a
|
|
Packit |
c04fcb |
program, without need for recompiling it.
|
|
Packit |
c04fcb |
|
|
Packit |
c04fcb |
This library defines a malloc() function that is instrumented with a
|
|
Packit |
c04fcb |
tracepoint. It also calls the libc malloc afterwards. When loaded with
|
|
Packit |
c04fcb |
LD_PRELOAD, it replaces the libc malloc() function, in effect
|
|
Packit |
c04fcb |
instrumenting all calls to malloc(). The same is performed for free().
|
|
Packit |
c04fcb |
|
|
Packit |
c04fcb |
See the "run" script for a usage example.
|