summaryrefslogtreecommitdiffstats
path: root/src/librados/librados_tp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/librados/librados_tp.cc')
-rw-r--r--src/librados/librados_tp.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/librados/librados_tp.cc b/src/librados/librados_tp.cc
new file mode 100644
index 000000000..b696de871
--- /dev/null
+++ b/src/librados/librados_tp.cc
@@ -0,0 +1,9 @@
+#include "acconfig.h"
+
+#ifdef WITH_LTTNG
+#define TRACEPOINT_DEFINE
+#define TRACEPOINT_PROBE_DYNAMIC_LINKAGE
+#include "tracing/librados.h"
+#undef TRACEPOINT_PROBE_DYNAMIC_LINKAGE
+#undef TRACEPOINT_DEFINE
+#endif