Registry / observability / liblttng-ust

liblttng-ust

JSON →
library2.14.0vcpkgunverified

LTTng-UST, the Linux Trace Toolkit Next Generation Userspace Tracer, is port of the low-overhead tracing capabilities of the LTTng kernel tracer to user-space. The library 'liblttng-ust' enables tracing of applications and libraries.

vcpkg install liblttng-ust
INSTALL
IMPORT
SIG · LIBLTTNG-UST
L
liblttng-ust
observabilitycppv2.14.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

lttng/tracepoint.h
#include <lttng/tracepoint.h>

Define and use a tracepoint with LTTng-UST

#define TRACEPOINT_DEFINE #include <lttng/tracepoint.h> TRACEPOINT_EVENT(my_app, my_event, TP_ARGS(int, my_int, const char*, my_string), TP_FIELDS( ctf_integer(int, my_int_field, my_int) ctf_string(my_string_field, my_string) ) ) int main() { tracepoint(my_app, my_event, 42, "hello"); return 0; }
Debug
Known issues
gotchaLinux-only; requires root or proper permissions to enable tracing sessions
fix
Use on Linux with lttng-sessiond running and appropriate capabilities
affects: *
Upgrade
Version history
2.14.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
OpenAI (training)
2
Resources

No resource links recorded.

liblttng-ust — pip install liblttng-ust · libregistry