Tracepoints: Introduce DEFINE/DECLARE_TRACEPOINT, TRACEPOINT_EVENT...
[ust.git] / tests / trace_event / trace_event_test.c
index f4fa90a8de9e1218704e9671b33d2258d9a8d2d9..8e87846e1b3696b1c4c03312525213e79997f3a5 100644 (file)
@@ -17,7 +17,7 @@
 #include <stdio.h>
 #include <ust/clock.h>
 
-#define CREATE_TRACE_POINTS
+#define TRACEPOINT_CREATE_PROBES
 #include "trace_event_test.h"
 
 int main(int argc, char * argv[])
@@ -25,7 +25,7 @@ int main(int argc, char * argv[])
        static unsigned long time, i;
        for (i=0; i<10; i++) {
                time=trace_clock_read64();
-               trace_test(time, i);
+               tracepoint(test, time, i);
        }
        return 0;
 }
This page took 0.022949 seconds and 4 git commands to generate.