Check for num cpus
[lttng-ust.git] / libust / ltt-tracer.h
index 0a94daa81b0ce58ebfe73eab6780a34f18ee5856..f77683937e28b088fcc941d14a33660fc50cda94 100644 (file)
 #include <stdint.h>
 #include <ust/core.h>
 #include <ust/compat.h>
+#include <ust/lttng-events.h>
 #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
This page took 0.023845 seconds and 4 git commands to generate.