Move liblttng-ust-tracepoint to 'src/lib/'
[lttng-ust.git] / src / lib / lttng-ust-tracepoint / tracepoint.h
diff --git a/src/lib/lttng-ust-tracepoint/tracepoint.h b/src/lib/lttng-ust-tracepoint/tracepoint.h
new file mode 100644 (file)
index 0000000..ebc2544
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
+ * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ */
+
+#ifndef _LTTNG_TRACEPOINT_INTERNAL_H
+#define _LTTNG_TRACEPOINT_INTERNAL_H
+
+#include <urcu/list.h>
+#include <lttng/tracepoint-types.h>
+#include <lttng/ust-events.h>
+
+struct tracepoint_lib {
+       struct cds_list_head list;      /* list of registered libs */
+       struct lttng_ust_tracepoint * const *tracepoints_start;
+       int tracepoints_count;
+       struct cds_list_head callsites;
+};
+
+int tracepoint_probe_register_noupdate(const char *name,
+               void (*callback)(void), void *priv,
+               const char *signature)
+       __attribute__((visibility("hidden")));
+
+int tracepoint_probe_unregister_noupdate(const char *name,
+               void (*callback)(void), void *priv)
+       __attribute__((visibility("hidden")));
+
+void tracepoint_probe_update_all(void)
+       __attribute__((visibility("hidden")));
+
+
+void *lttng_ust_tp_check_weak_hidden1(void)
+       __attribute__((visibility("hidden")));
+
+void *lttng_ust_tp_check_weak_hidden2(void)
+       __attribute__((visibility("hidden")));
+
+void *lttng_ust_tp_check_weak_hidden3(void)
+       __attribute__((visibility("hidden")));
+
+#endif /* _LTTNG_TRACEPOINT_INTERNAL_H */
This page took 0.034346 seconds and 4 git commands to generate.