X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust-malloc%2FREADME;fp=liblttng-ust-malloc%2FREADME;h=c58a7e6a4003c373b32c074e8c727196139b2c1f;hb=69400ac4a4e6575f749c6326df7c2a2c8ac3bdc5;hp=0000000000000000000000000000000000000000;hpb=f3049ad9e7b72287888452b9ed542c0f36e6eefe;p=ust.git diff --git a/liblttng-ust-malloc/README b/liblttng-ust-malloc/README new file mode 100644 index 0000000..c58a7e6 --- /dev/null +++ b/liblttng-ust-malloc/README @@ -0,0 +1,9 @@ +libustinstr-malloc is used for instrumenting calls to malloc(3) in a program, +without need for recompiling it. + +libustinstr-malloc defines a malloc() function that is instrumented with a +marker. It also calls the libc malloc afterwards. When loaded with LD_PRELOAD, +it replaces the libc malloc() function, in effect instrumenting all calls to +malloc(). + +See the "run" script for a usage example.