Tracepoint API namespacing 'TRACEPOINT_LOGLEVEL'
[lttng-ust.git] / src / common / 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 _UST_COMMON_TRACEPOINT_H
8 #define _UST_COMMON_TRACEPOINT_H
9
10 #define LTTNG_UST_TRACEPOINT_LOGLEVEL_DEFAULT LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_LINE
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 */
16 int lttng_ust_tp_probe_register_queue_release(const char *provider_name, const char *event_name,
17 void (*func)(void), void *data, const char *signature);
18 int lttng_ust_tp_probe_unregister_queue_release(const char *provider_name, const char *event_name,
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 */
This page took 0.030049 seconds and 4 git commands to generate.