| 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 TRACE_DEFAULT TRACE_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 *name, |
| 17 | void (*func)(void), void *data, const char *signature); |
| 18 | int lttng_ust_tp_probe_unregister_queue_release(const char *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 */ |