*/
#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);
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)