X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Fltt-private.h;h=929e54aeb898a32c62a352d2fb8e08971cf74485;hb=b56dcdf2c3128db9165e0de6476ca5b799338486;hp=409d05622026df17c5267c1e6683639398c3bdd4;hpb=16fcbb80a9bc02fc7288d0da626471f49c7c4d9e;p=lttv.git diff --git a/ltt/branches/poly/ltt/ltt-private.h b/ltt/branches/poly/ltt/ltt-private.h index 409d0562..929e54ae 100644 --- a/ltt/branches/poly/ltt/ltt-private.h +++ b/ltt/branches/poly/ltt/ltt-private.h @@ -43,8 +43,8 @@ enum ltt_core_events { LTT_EVENT_FACILITY_LOAD, LTT_EVENT_FACILITY_UNLOAD, - LTT_EVENT_STATE_DUMP_FACILITY_LOAD, - LTT_EVENT_HEARTBEAT + LTT_EVENT_HEARTBEAT, + LTT_EVENT_STATE_DUMP_FACILITY_LOAD }; @@ -204,6 +204,8 @@ struct _LttEvent{ void * data; //event data guint data_size; + guint event_size; //event_size field of the header : + //used to verify data_size from facility. int count; //the number of overflow of cycle count gint64 overflow_nsec; //precalculated nsec for overflows @@ -266,6 +268,7 @@ struct _LttFacility{ guint32 id; //id of the facility guint32 pointer_size; + guint32 long_size; guint32 size_t_size; guint32 alignment; @@ -305,12 +308,13 @@ typedef struct _LttBuffer { struct _LttTracefile{ gboolean cpu_online; //is the cpu online ? + GQuark long_name; //tracefile complete filename GQuark name; //tracefile name guint cpu_num; //cpu number of the tracefile LttTrace * trace; //trace containing the tracefile int fd; //file descriptor off_t file_size; //file size - unsigned block_size; //block_size + //unsigned block_size; //block_size unsigned int num_blocks; //number of blocks in the file gboolean reverse_bo; //must we reverse byte order ? @@ -341,7 +345,8 @@ struct _LttTrace{ GArray *facilities_by_num; /* fac_id as index in array */ GData *facilities_by_name; /* fac name (GQuark) as index */ /* Points to array of fac_id of all the - * facilities that has this name. */ + * facilities that has this name. */ + guint num_cpu; guint32 arch_type; guint32 arch_variant;