#define LTT_GET_FLOAT_BO(t) \
(((t)->float_word_order==__BYTE_ORDER)?0:1)
-
/* Hardcoded core events */
enum ltt_core_events {
LTT_EVENT_FACILITY_LOAD,
} end;
uint32_t lost_size; /* Size unused at the end of the buffer */
uint32_t buf_size; /* The size of this sub-buffer */
- char trace[0];
+ struct ltt_trace_header_any trace[0];
} LTT_PACKED_STRUCT;
-
-
-
-
struct _LttType{
GQuark type_name; //type name if it is a named type
GQuark element_name; //elements name of the struct
gboolean reverse_bo; //must we reverse byte order ?
gboolean float_word_order; //what is the byte order of floats ?
+ size_t buffer_header_size;
+
/* Current event */
LttEvent event; //Event currently accessible in the trace