Tracepoints: Introduce DEFINE/DECLARE_TRACEPOINT, TRACEPOINT_EVENT...
[ust.git] / tests / trace_event / trace_event_test.c
index 9ed3d6ce0433486ec5182ec1399c69e6bbd27137..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,6 +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.023165 seconds and 4 git commands to generate.