X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libust%2Fltt-tracer.h;h=45da9c59ed2432134bb741fae15275c1eeacecd8;hb=8a98a75d15312b109a29c3dad982d534e2c116c9;hp=0a94daa81b0ce58ebfe73eab6780a34f18ee5856;hpb=4fbf9cd1ede72e98638a5f81ecdce11416b4afea;p=lttng-ust.git diff --git a/libust/ltt-tracer.h b/libust/ltt-tracer.h index 0a94daa8..45da9c59 100644 --- a/libust/ltt-tracer.h +++ b/libust/ltt-tracer.h @@ -27,30 +27,22 @@ #include #include #include +#include #include "ltt-tracer-core.h" -#include "ltt-events.h" - -#define LTTNG_VERSION 0 -#define LTTNG_PATCHLEVEL 9 -#define LTTNG_SUBLEVEL 1 - -#ifndef CHAR_BIT -#define CHAR_BIT 8 -#endif /* Number of bytes to log with a read/write event */ #define LTT_LOG_RW_SIZE 32L #define LTT_MAX_SMALL_SIZE 0xFFFFU -#ifdef RING_BUFFER_ALIGN -#define ltt_alignof(type) __alignof__(type) -#else -#define ltt_alignof(type) 1 -#endif - /* Tracer properties */ #define CTF_MAGIC_NUMBER 0xC1FC1FC1 #define TSDL_MAGIC_NUMBER 0x75D11D57 + +/* CTF specification version followed */ +#define CTF_SPEC_MAJOR 1 +#define CTF_SPEC_MINOR 8 + +/* Tracer major/minor versions */ #define CTF_VERSION_MAJOR 0 #define CTF_VERSION_MINOR 1