1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-07-07 10:00:23 +02:00

Add build support for tracepoints via lttng-ust

This commit is contained in:
Andy Wingo 2025-02-10 12:45:25 +01:00
parent b517464d7f
commit cca54736a0
6 changed files with 126 additions and 5 deletions

6
src/gc-tracepoint.c Normal file
View file

@ -0,0 +1,6 @@
#include <assert.h>
#ifdef GC_TRACEPOINT_LTTNG
#define LTTNG_UST_TRACEPOINT_DEFINE
#define LTTNG_UST_TRACEPOINT_CREATE_PROBES
#include "gc-lttng.h"
#endif // GC_TRACEPOINT_LTTNG