Build system: implement REUSE with SPDX identifiers
[lttng-ust.git] / src / lib / lttng-ust-libc-wrapper / README.md
CommitLineData
e03d7c66
MJ
1<!--
2SPDX-FileCopyrightText: 2023 EfficiOS, Inc.
3
4SPDX-License-Identifier: CC-BY-4.0
5-->
6
7# LTTng-UST libc wrapper
8
9`liblttng-ust-libc` is used for instrumenting some calls to libc in a program,
10without need for recompiling it.
11
12This library defines a `malloc()` function that is instrumented with a
13tracepoint. It also calls the libc `malloc()` afterwards. When loaded with
14LD\_PRELOAD, it replaces the libc `malloc()` function, in effect instrumenting
15all calls to `malloc()`. The same is performed for `free()`.
16
17See the "run" script for a usage example.
This page took 0.022895 seconds and 4 git commands to generate.