LttvExecutionState *es;
/* PID */
- pid = ltt_event_get_long_unsigned(e, thf->f1);
+ pid = (guint)ltt_event_get_long_unsigned(e, thf->f1);
s->parent.target_pid = pid;
- process = lttv_state_find_process(ts, ANY_CPU, pid);
+ process = lttv_state_find_process_or_create(ts, ANY_CPU, pid,
+ <t_time_zero);
process->execution_stack =
g_array_set_size(process->execution_stack, 1);
es = process->state =