| 1 | #ifndef LTTNG_TRACER_CORE_H |
| 2 | #define LTTNG_TRACER_CORE_H |
| 3 | |
| 4 | /* |
| 5 | * lttng-tracer-core.h |
| 6 | * |
| 7 | * This contains the core definitions for the Linux Trace Toolkit Next |
| 8 | * Generation tracer. |
| 9 | * |
| 10 | * Copyright (C) 2005-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 11 | * |
| 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 |
| 25 | */ |
| 26 | |
| 27 | #include <linux/list.h> |
| 28 | #include <linux/percpu.h> |
| 29 | |
| 30 | #ifndef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS |
| 31 | /* Align data on its natural alignment */ |
| 32 | #define RING_BUFFER_ALIGN |
| 33 | #endif |
| 34 | |
| 35 | #include "wrapper/ringbuffer/config.h" |
| 36 | |
| 37 | struct lttng_session; |
| 38 | struct lttng_channel; |
| 39 | struct lttng_event; |
| 40 | |
| 41 | #endif /* LTTNG_TRACER_CORE_H */ |