Commit | Line | Data |
---|---|---|
a90917c3 MD |
1 | #ifndef LTTNG_TRACER_CORE_H |
2 | #define LTTNG_TRACER_CORE_H | |
17baffe2 | 3 | |
1c8284eb | 4 | /* |
a90917c3 | 5 | * lttng-tracer-core.h |
17baffe2 | 6 | * |
886d51a3 MD |
7 | * This contains the core definitions for the Linux Trace Toolkit Next |
8 | * Generation tracer. | |
1c8284eb | 9 | * |
886d51a3 | 10 | * Copyright (C) 2005-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
1c8284eb | 11 | * |
886d51a3 MD |
12 | * This library is free software; you can redistribute it and/or |
13 | * modify it under the terms of the GNU Lesser General Public | |
14 | * License as published by the Free Software Foundation; only | |
15 | * version 2.1 of the License. | |
16 | * | |
17 | * This library is distributed in the hope that it will be useful, | |
18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
20 | * Lesser General Public License for more details. | |
21 | * | |
22 | * You should have received a copy of the GNU Lesser General Public | |
23 | * License along with this library; if not, write to the Free Software | |
24 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
1c8284eb MD |
25 | */ |
26 | ||
1c8284eb MD |
27 | #include <linux/list.h> |
28 | #include <linux/percpu.h> | |
1c8284eb | 29 | |
58c78202 | 30 | #ifndef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS |
6db3d13b MD |
31 | /* Align data on its natural alignment */ |
32 | #define RING_BUFFER_ALIGN | |
33 | #endif | |
34 | ||
bbd023d6 | 35 | #include <wrapper/ringbuffer/config.h> |
6db3d13b | 36 | |
a90917c3 MD |
37 | struct lttng_session; |
38 | struct lttng_channel; | |
39 | struct lttng_event; | |
1c8284eb | 40 | |
a90917c3 | 41 | #endif /* LTTNG_TRACER_CORE_H */ |