X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=ltt-tracer-core.h;h=c300e5d2d55352cd9c949d0d8cdda8fdf1ade57a;hb=3afe7aaccff5c7d2889267ab64eac46ce72ac799;hp=cb82658b19c0ea014f5823ae434d1259cfe668bf;hpb=1c25284c690cd38b71789c4024089d28de21caea;p=lttng-modules.git diff --git a/ltt-tracer-core.h b/ltt-tracer-core.h index cb82658b..c300e5d2 100644 --- a/ltt-tracer-core.h +++ b/ltt-tracer-core.h @@ -13,6 +13,13 @@ #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; struct ltt_event;