Move liblttng-ust-tracepoint to 'src/lib/'
[lttng-ust.git] / src / common / tracepoint.h
diff --git a/src/common/tracepoint.h b/src/common/tracepoint.h
new file mode 100644 (file)
index 0000000..11c2b8f
--- /dev/null
@@ -0,0 +1,26 @@
+/*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
+ * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ */
+
+#ifndef _UST_COMMON_TRACEPOINT_H
+#define _UST_COMMON_TRACEPOINT_H
+
+#define TRACE_DEFAULT  TRACE_DEBUG_LINE
+
+/*
+ * These symbols are ABI between liblttng-ust-tracepoint and liblttng-ust,
+ * which is why they are not hidden and not part of the public API.
+ */
+int lttng_ust_tp_probe_register_queue_release(const char *name,
+               void (*func)(void), void *data, const char *signature);
+int lttng_ust_tp_probe_unregister_queue_release(const char *name,
+               void (*func)(void), void *data);
+void lttng_ust_tp_probe_prune_release_queue(void);
+
+void lttng_ust_tp_init(void);
+void lttng_ust_tp_exit(void);
+
+
+#endif /* _UST_COMMON_TRACEPOINT_H */
This page took 0.024762 seconds and 4 git commands to generate.