Allow weak binding from instrumented apps to liblttng-ust
[lttng-ust.git] / tests / fork / fork2.c
index b156ac1e5832c096d2660f0cd1bbf5b458070a14..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");
 
-       ust_marker(after_exec, UST_MARKER_NOARGS);
+       tracepoint(ust_tests_fork, after_exec);
 
        return 0;
 }
This page took 0.023533 seconds and 4 git commands to generate.