#include <ltt/facility.h>
#include <ltt/trace.h>
#include <ltt/event.h>
+#include <ltt/type.h>
LttvExecutionMode
LTTV_STATE_MODE_UNKNOWN,
LTTV_POINTER);
if(tfcs->parent.e == NULL) *(value.v_pointer) = NULL;
else {
- ep = g_new(LttEventPosition, 1);
+ ep = ltt_event_position_new();
ltt_event_position(tfcs->parent.e, ep);
*(value.v_pointer) = ep;
}
else s->process->state->s = LTTV_STATE_WAIT;
if(s->process->pid == 0)
- s->process->pid == pid_out;
+ s->process->pid = pid_out;
s->process->state->change = s->parent.timestamp;
}
LttvTraceState *tcs = (LttvTraceState *)(tfcs->parent.t_context);
- LttEventPosition ep;
+ LttEventPosition *ep = ltt_event_position_new();
guint nb_block, nb_event;
LttvAttributeValue value;
- ltt_event_position(tfcs->parent.e, &ep);
+ ltt_event_position(tfcs->parent.e, ep);
- ltt_event_position_get(&ep, &nb_block, &nb_event, &tf);
+ ltt_event_position_get(ep, &nb_block, &nb_event, &tf);
tcs->nb_event += nb_event - tfcs->saved_position;
tfcs->saved_position = 0;
if(tcs->nb_event >= tcs->save_interval) {