}
+void ltt_event_position_set(LttEventPosition *ep, LttTracefile *tf,
+ guint block, guint offset, guint64 tsc)
+{
+ ep->tracefile = tf;
+ ep->block = block;
+ ep->offset = offset;
+ ep->tsc = tsc;
+}
+
+
/*****************************************************************************
*Function name
* ltt_event_position : get the event's position
guint i;
gint ret=0;
if(field->fixed_root == FIELD_VARIABLE) {
- *offset += ltt_align(*offset, get_alignment(fac, field),
+ *offset += ltt_align(*offset, get_alignment(field),
fac->alignment);
/* remember offset */
field->offset_root = *offset;