-#include "tp.h"
-#include "marker.h"
-#include "usterr.h"
+/*
+ * tp.c
+ *
+ * Copyright (c) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
+ * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
+ * OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
+ *
+ * Permission is hereby granted to use or copy this program
+ * for any purpose, provided the above notices are retained on all copies.
+ * Permission to modify the code and to distribute modified code is granted,
+ * provided the above notices are retained, and a notice that the code was
+ * modified is included with the above copyright notice.
+ */
-DEFINE_TRACE(hello_tptest);
-
-void tptest_probe(int anint)
-{
- DBG("in tracepoint probe...");
- trace_mark(ust, tptest, "anint %d", anint);
-}
-
-static void __attribute__((constructor)) init()
-{
- DBG("connecting tracepoint...");
- register_trace_hello_tptest(tptest_probe);
-}
+#define TRACEPOINT_CREATE_PROBES
+#include "ust_tests_hello.h"