X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt-tracer-core.h;h=83debd9f18cc90d4edfa9ce86ba4d792c5d705e1;hb=681cc3bb4f00fd63ad65920ea6e201fcaed300c0;hp=cb82658b19c0ea014f5823ae434d1259cfe668bf;hpb=1c25284c690cd38b71789c4024089d28de21caea;p=lttng-modules.git diff --git a/ltt-tracer-core.h b/ltt-tracer-core.h index cb82658b..83debd9f 100644 --- a/ltt-tracer-core.h +++ b/ltt-tracer-core.h @@ -11,7 +11,13 @@ #include #include -#include + +#ifndef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS +/* Align data on its natural alignment */ +#define RING_BUFFER_ALIGN +#endif + +#include struct ltt_session; struct ltt_channel;