summaryrefslogtreecommitdiff
path: root/libguile/whippet/src/gc-tracepoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/whippet/src/gc-tracepoint.c')
-rw-r--r--libguile/whippet/src/gc-tracepoint.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libguile/whippet/src/gc-tracepoint.c b/libguile/whippet/src/gc-tracepoint.c
new file mode 100644
index 000000000..aa8ebc4a1
--- /dev/null
+++ b/libguile/whippet/src/gc-tracepoint.c
@@ -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