Allow weak binding from instrumented apps to liblttng-ust
[lttng-ust.git] / tests / fork / fork2.c
index a290044439c105b350b9eaebdd4d875582bdb5cf..49baba8a727e21bd19613b09eb58e5ff03e23da2 100644 (file)
 #include <stdio.h>
 #include <unistd.h>
 
-#include <ust/marker.h>
+#define TRACEPOINT_DEFINE
+#define TRACEPOINT_CREATE_PROBES
+#include "ust_tests_fork.h"
 
 int main()
 {
        printf("IN FORK2\n");
 
-       trace_mark(ust, after_exec, MARK_NOARGS);
+       tracepoint(ust_tests_fork, after_exec);
 
        return 0;
 }
This page took 0.025895 seconds and 4 git commands to generate.