tracepoint: split provider and event name
[lttng-ust.git] / src / lib / lttng-ust-tracepoint / tracepoint.h
1 /*
2 * SPDX-License-Identifier: LGPL-2.1-only
3 *
4 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 */
6
7 #ifndef _LTTNG_TRACEPOINT_INTERNAL_H
8 #define _LTTNG_TRACEPOINT_INTERNAL_H
9
10 #include <urcu/list.h>
11 #include <lttng/tracepoint-types.h>
12 #include <lttng/ust-events.h>
13
14 struct tracepoint_lib {
15 struct cds_list_head list; /* list of registered libs */
16 struct lttng_ust_tracepoint * const *tracepoints_start;
17 int tracepoints_count;
18 struct cds_list_head callsites;
19 };
20
21 int tracepoint_probe_register_noupdate(const char *provider_name, const char *event_name,
22 void (*callback)(void), void *priv,
23 const char *signature)
24 __attribute__((visibility("hidden")));
25
26 int tracepoint_probe_unregister_noupdate(const char *provider_name, const char *event_name,
27 void (*callback)(void), void *priv)
28 __attribute__((visibility("hidden")));
29
30 void tracepoint_probe_update_all(void)
31 __attribute__((visibility("hidden")));
32
33
34 void *lttng_ust_tp_check_weak_hidden1(void)
35 __attribute__((visibility("hidden")));
36
37 void *lttng_ust_tp_check_weak_hidden2(void)
38 __attribute__((visibility("hidden")));
39
40 void *lttng_ust_tp_check_weak_hidden3(void)
41 __attribute__((visibility("hidden")));
42
43 #endif /* _LTTNG_TRACEPOINT_INTERNAL_H */
This page took 0.030468 seconds and 4 git commands to generate.