Tests: Add tracepoints to libbar, libfoo and libzzz
[lttng-tools.git] / tests / regression / ust / ust-dl / libbar.c
index 4ebd6b109c88524f8afb241afc44b6720769422c..cff053adcd04def14116985b17a9196d1b16ccb9 100644 (file)
@@ -1,6 +1,11 @@
 #include "libbar.h"
 
+#define TRACEPOINT_DEFINE
+#define TRACEPOINT_PROBE_DYNAMIC_LINKAGE
+#include "libbar-tp.h"
+
 int bar(void)
 {
+       tracepoint(libbar, bar);
        return 1;
 }
This page took 0.025105 seconds and 5 git commands to generate.