| 1 | /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) |
| 2 | * |
| 3 | * lttng/tracepoint.h |
| 4 | * |
| 5 | * LTTng adaptation layer for Linux kernel 3.15+ tracepoints. |
| 6 | * |
| 7 | * Copyright (C) 2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 8 | */ |
| 9 | |
| 10 | #ifndef _LTTNG_TRACEPOINT_H |
| 11 | #define _LTTNG_TRACEPOINT_H |
| 12 | |
| 13 | int lttng_tracepoint_probe_register(const char *name, void *probe, void *data); |
| 14 | int lttng_tracepoint_probe_unregister(const char *name, void *probe, void *data); |
| 15 | int lttng_tracepoint_init(void); |
| 16 | void lttng_tracepoint_exit(void); |
| 17 | |
| 18 | #endif /* _LTTNG_TRACEPOINT_H */ |