| 1 | /* |
| 2 | * SPDX-License-Identifier: MIT |
| 3 | * |
| 4 | * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 5 | */ |
| 6 | |
| 7 | #ifndef _LTTNG_TRACEPOINT_TYPES_H |
| 8 | #define _LTTNG_TRACEPOINT_TYPES_H |
| 9 | |
| 10 | struct lttng_ust_tracepoint_probe { |
| 11 | void (*func)(void); |
| 12 | void *data; |
| 13 | }; |
| 14 | |
| 15 | #define LTTNG_UST_TRACEPOINT_PADDING 16 |
| 16 | struct lttng_ust_tracepoint { |
| 17 | const char *name; |
| 18 | int state; |
| 19 | struct lttng_ust_tracepoint_probe *probes; |
| 20 | int *tracepoint_provider_ref; |
| 21 | const char *signature; |
| 22 | char padding[LTTNG_UST_TRACEPOINT_PADDING]; |
| 23 | }; |
| 24 | |
| 25 | #endif /* _LTTNG_TRACEPOINT_TYPES_H */ |