X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Fltt-private.h;h=d10e35f91164f58c753253c9dbc602b0ddb22f6c;hb=4d9ff9421ad51cef878f7a2e70faacf96001768e;hp=afbb515d89ec809cb8d2b92f2f8e38304c2bd4d8;hpb=2dee981dc61f60146ec906aceb44e4718fbf4183;p=lttv.git diff --git a/ltt/branches/poly/ltt/ltt-private.h b/ltt/branches/poly/ltt/ltt-private.h index afbb515d..d10e35f9 100644 --- a/ltt/branches/poly/ltt/ltt-private.h +++ b/ltt/branches/poly/ltt/ltt-private.h @@ -100,6 +100,8 @@ struct _LttEvent{ LttCycleCount pre_cycle_count; //previous cycle count of the event int count; //the number of overflow of cycle count gint64 overflow_nsec; //precalculated nsec for overflows + TimeHeartbeat * last_heartbeat; //last heartbeat + /* end of workaround */ }; @@ -157,8 +159,9 @@ struct _LttTracefile{ unsigned int which_event; //which event of the current block //is currently processed LttTime current_event_time; //time of the current event - BlockStart * a_block_start; //block start of the block - BlockEnd * a_block_end; //block end of the block + BlockStart * a_block_start; //block start of the block- trace endian + BlockEnd * a_block_end; //block end of the block - trace endian + TimeHeartbeat * last_heartbeat; //last heartbeat void * cur_event_pos; //the position of the current event void * buffer; //the buffer containing the block double nsec_per_cycle; //Nsec per cycle @@ -189,8 +192,7 @@ struct _LttTrace{ GPtrArray *control_tracefiles; //array of control tracefiles GPtrArray *per_cpu_tracefiles; //array of per cpu tracefiles GPtrArray *facilities; //array of facilities - LttArchSize my_arch_size; //data size of the local machine - LttArchEndian my_arch_endian; //endian type of the local machine + gboolean reverse_byte_order; //must we reverse BO ? }; struct _LttEventPosition{ @@ -211,6 +213,7 @@ struct _LttEventPosition{ LttCycleCount pre_cycle_count; //previous cycle count of the event int count; //the number of overflow of cycle count gint64 overflow_nsec; //precalculated nsec for overflows + TimeHeartbeat * last_heartbeat; //last heartbeat /* end of workaround */ };