Commit | Line | Data |
---|---|---|
8f51c684 MJ |
1 | /* |
2 | * SPDX-License-Identifier: LGPL-2.1-only | |
3 | * | |
4 | * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
5 | */ | |
6 | ||
7 | #ifndef _UST_COMMON_TRACEPOINT_H | |
8 | #define _UST_COMMON_TRACEPOINT_H | |
9 | ||
612e9ce4 | 10 | #define LTTNG_UST_TRACEPOINT_LOGLEVEL_DEFAULT LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_LINE |
8f51c684 MJ |
11 | |
12 | /* | |
13 | * These symbols are ABI between liblttng-ust-tracepoint and liblttng-ust, | |
14 | * which is why they are not hidden and not part of the public API. | |
15 | */ | |
34f7f142 | 16 | int lttng_ust_tp_probe_register_queue_release(const char *provider_name, const char *event_name, |
8f51c684 | 17 | void (*func)(void), void *data, const char *signature); |
34f7f142 | 18 | int lttng_ust_tp_probe_unregister_queue_release(const char *provider_name, const char *event_name, |
8f51c684 MJ |
19 | void (*func)(void), void *data); |
20 | void lttng_ust_tp_probe_prune_release_queue(void); | |
21 | ||
22 | void lttng_ust_tp_init(void); | |
23 | void lttng_ust_tp_exit(void); | |
24 | ||
25 | ||
26 | #endif /* _UST_COMMON_TRACEPOINT_H */ |