LTTV_STATE_WAIT_FORK,
LTTV_STATE_WAIT_CPU,
LTTV_STATE_EXIT,
+ LTTV_STATE_ZOMBIE,
LTTV_STATE_WAIT,
LTTV_STATE_RUN;
GArray *execution_stack; /* Array of LttvExecutionState */
LttvExecutionState *state; /* Top of interrupt stack */
GQuark last_cpu; /* Last CPU where process was scheduled */
+ guint last_cpu_index; /* index in the trace for cpu tracefile */
/* opened file descriptors, address map?... */
} LttvProcessState;
LttvProcessState *
lttv_state_find_process(LttvTracefileState *tfs, guint pid);
-LttvProcessState *
-lttv_state_find_process_from_trace(LttvTraceState *ts, GQuark cpu, guint pid);
-
LttvProcessState *
lttv_state_find_process_or_create(LttvTracefileState *tfs, guint pid);