Privatize headers
[ust.git] / tests / tracepoint / benchmark / tracepoint_benchmark.c
index 50a184707a7a36510dbdc38df92bb2e7edb64957..c1208b09cd17ddc69f2d9355a5b648dba2284380 100644 (file)
  */
 
 #include <stdio.h>
+
+#define TRACEPOINT_CREATE_PROBES
 #include "tracepoint_benchmark.h"
-#include <ust/type-serializer.h>
 
-#define NR_EVENTS      10000000
+/* Yes, this is now internal. */
+#include "../../../libust/type-serializer.h"
 
-DEFINE_TRACEPOINT(ust_event);
+#define NR_EVENTS      10000000
 
 void tp_probe(void *data, unsigned int p1);
 
@@ -49,7 +51,7 @@ void tp_probe(void *data, unsigned int p1)
 
 static void __attribute__((constructor)) init()
 {
-       register_tracepoint(ust_event, tp_probe, NULL);
+       __register_tracepoint(ust_event, tp_probe, NULL);
 }
 
 void single_trace(unsigned int v)
This page took 0.023224 seconds and 4 git commands to generate.