| 1 | /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) |
| 2 | * |
| 3 | * lttng/tracer-core.h |
| 4 | * |
| 5 | * This contains the core definitions for the Linux Trace Toolkit Next |
| 6 | * Generation tracer. |
| 7 | * |
| 8 | * Copyright (C) 2005-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 9 | */ |
| 10 | |
| 11 | #ifndef LTTNG_TRACER_CORE_H |
| 12 | #define LTTNG_TRACER_CORE_H |
| 13 | |
| 14 | #include <linux/list.h> |
| 15 | #include <linux/percpu.h> |
| 16 | |
| 17 | #ifndef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS |
| 18 | /* Align data on its natural alignment */ |
| 19 | #define RING_BUFFER_ALIGN |
| 20 | #endif |
| 21 | |
| 22 | #include <ringbuffer/config.h> |
| 23 | |
| 24 | struct lttng_kernel_session; |
| 25 | struct lttng_channel; |
| 26 | struct lttng_event; |
| 27 | |
| 28 | #endif /* LTTNG_TRACER_CORE_H */ |