fork: don't switch buffer when destroying trace in child
[ust.git] / tests / hello / hello.c
index dc220c46075141063200ea856dab819f311b7579..5db487b05a1503040865102e34565b8427f0a932 100644 (file)
@@ -8,8 +8,9 @@
 #include <signal.h>
 
 #include <ust/marker.h>
+#include "usterr.h"
 #include "tp.h"
-
+#include "tracer.h"
 
 void inthandler(int sig)
 {
@@ -62,13 +63,10 @@ int main()
        scanf("%*s");
 
        ltt_trace_stop("auto");
-       ltt_trace_destroy("auto");
+       ltt_trace_destroy("auto", 0);
 
        DBG("TRACE STOPPED");
        scanf("%*s");
 
        return 0;
 }
-
-MARKER_LIB;
-TRACEPOINT_LIB;
This page took 0.023515 seconds and 4 git commands to generate.