Tests: Add tracepoints to libbar, libfoo and libzzz
[lttng-tools.git] / tests / regression / ust / ust-dl / libfoo-tp.h
diff --git a/tests/regression/ust/ust-dl/libfoo-tp.h b/tests/regression/ust/ust-dl/libfoo-tp.h
new file mode 100644 (file)
index 0000000..c3b23f1
--- /dev/null
@@ -0,0 +1,21 @@
+#undef TRACEPOINT_PROVIDER
+#define TRACEPOINT_PROVIDER libfoo
+
+#undef TRACEPOINT_INCLUDE
+#define TRACEPOINT_INCLUDE "./libfoo-tp.h"
+
+#if !defined(_LIBFOO_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
+#define _LIBFOO_TP_H
+
+#include <lttng/tracepoint.h>
+
+TRACEPOINT_EVENT(
+    libfoo,
+    foo,
+    TP_ARGS(void),
+    TP_FIELDS()
+)
+
+#endif /* _LIBFOO_TP_H */
+
+#include <lttng/tracepoint-event.h>
This page took 0.025734 seconds and 5 git commands to generate.