guint size;
LttTypeEnum type_class; //which type
GHashTable *enum_map; //maps enum labels to numbers.
+ gint32 highest_value; //For enum
+ gint32 lowest_value; //For enum
GArray *fields; // Array of LttFields, for array, sequence, union, struct.
GData *fields_by_name;
guint network; // Is the type in network byte order ?
LttFacility * facility; //the facility that contains the event type
GArray * fields; //event's fields (LttField)
GData *fields_by_name;
+ int has_compact_data; //event header contains compact data (first field)
};
/* Structure LttEvent and LttEventPosition must begin with the _exact_ same
guint data_size;
guint event_size; //event_size field of the header :
//used to verify data_size from facility.
+ uint32_t compact_data;
int count; //the number of overflow of cycle count
gint64 overflow_nsec; //precalculated nsec for overflows
size_t has_alignment; //alignment of events in the tracefile.
// 0 or the architecture size in bytes.
+ guint8 has_heartbeat;
size_t buffer_header_size;
int compact; //compact tracefile ?
uint8_t tsc_lsb_truncate;
guint8 ltt_major_version;
guint8 ltt_minor_version;
guint8 flight_recorder;
- guint8 has_heartbeat;
guint32 freq_scale;
uint64_t start_freq;
uint64_t start_tsc;
LttTime start_time;
LttTime start_time_from_tsc;
GArray *compact_facilities;
+ uint8_t compact_event_bits;
GData *tracefiles; //tracefiles groups
};