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 MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
10 * OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
12 * Permission is hereby granted to use or copy this program
13 * for any purpose, provided the above notices are retained on all copies.
14 * Permission to modify the code and to distribute modified code is granted,
15 * provided the above notices are retained, and a notice that the code was
16 * modified is included with the above copyright notice.
19 #include <lttng/config.h>
20 #include <lttng/ust-version.h>
22 #ifndef HAVE_EFFICIENT_UNALIGNED_ACCESS
23 /* Align data on its natural alignment */
24 #define RING_BUFFER_ALIGN
31 #ifdef RING_BUFFER_ALIGN
32 #define lttng_alignof(type) __alignof__(type)
34 #define lttng_alignof(type) 1
37 #define lttng_is_signed_type(type) (((type)(-1)) < 0)
39 #endif /* _LTTNG_TRACER_CORE_H */
This page took 0.030117 seconds and 5 git commands to generate.