projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update error check for root handle
[lttng-ust.git]
/
libust
/
ltt-tracer.h
diff --git
a/libust/ltt-tracer.h
b/libust/ltt-tracer.h
index 0a94daa81b0ce58ebfe73eab6780a34f18ee5856..45da9c59ed2432134bb741fae15275c1eeacecd8 100644
(file)
--- a/
libust/ltt-tracer.h
+++ b/
libust/ltt-tracer.h
@@
-27,30
+27,22
@@
#include <stdint.h>
#include <ust/core.h>
#include <ust/compat.h>
#include <stdint.h>
#include <ust/core.h>
#include <ust/compat.h>
+#include <ust/lttng-events.h>
#include "ltt-tracer-core.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
/* 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
/* 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
#define CTF_VERSION_MAJOR 0
#define CTF_VERSION_MINOR 1
This page took
0.027916 seconds
and
4
git commands to generate.