X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt-tracer-core.h;h=d464877de4f23b016c49dc86e432a2c9bb75505e;hb=17baffe29814f2508556e498ab8c41a192e76b67;hp=cb82658b19c0ea014f5823ae434d1259cfe668bf;hpb=1c25284c690cd38b71789c4024089d28de21caea;p=lttng-modules.git diff --git a/ltt-tracer-core.h b/ltt-tracer-core.h index cb82658b..d464877d 100644 --- a/ltt-tracer-core.h +++ b/ltt-tracer-core.h @@ -1,17 +1,25 @@ +#ifndef LTT_TRACER_CORE_H +#define LTT_TRACER_CORE_H + /* - * Copyright (C) 2005,2006 Mathieu Desnoyers (mathieu.desnoyers@polymtl.ca) + * ltt-tracer-core.h + * + * Copyright (C) 2005-2011 Mathieu Desnoyers * * This contains the core definitions for the Linux Trace Toolkit. * * Dual LGPL v2.1/GPL v2 license. */ -#ifndef LTT_TRACER_CORE_H -#define LTT_TRACER_CORE_H - #include #include -#include + +#ifndef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS +/* Align data on its natural alignment */ +#define RING_BUFFER_ALIGN +#endif + +#include "wrapper/ringbuffer/config.h" struct ltt_session; struct ltt_channel;