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 #include <lttng/config.h>
26 #ifndef HAVE_EFFICIENT_UNALIGNED_ACCESS
27 /* Align data on its natural alignment */
28 #define RING_BUFFER_ALIGN
31 #define LTTNG_UST_VERSION 0
32 #define LTTNG_UST_PATCHLEVEL 9
33 #define LTTNG_UST_SUBLEVEL 1
39 #ifdef RING_BUFFER_ALIGN
40 #define lttng_alignof(type) __alignof__(type)
42 #define lttng_alignof(type) 1
45 #define lttng_is_signed_type(type) (((type)(-1)) < 0)
47 #endif /* _LTTNG_TRACER_CORE_H */
This page took 0.031339 seconds and 5 git commands to generate.