1 #ifndef _LTTNG_TRACER_H
2 #define _LTTNG_TRACER_H
5 * Copyright (C) 2005-2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
7 * This contains the core definitions for the Linux Trace Toolkit.
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; version 2.1 of
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 #ifndef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
25 /* Align data on its natural alignment */
26 #define RING_BUFFER_ALIGN
29 #define LTTNG_UST_VERSION 0
30 #define LTTNG_UST_PATCHLEVEL 9
31 #define LTTNG_UST_SUBLEVEL 1
37 #ifdef RING_BUFFER_ALIGN
38 #define lttng_alignof(type) __alignof__(type)
40 #define lttng_alignof(type) 1
43 #define lttng_is_signed_type(type) (((type)(-1)) < 0)
45 #endif /* _LTTNG_TRACER_CORE_H */
This page took 0.029586 seconds and 4 git commands to generate.