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