filter core, text module and gui module:
[lttv.git] / ltt / branches / poly / lttv / lttv / state.h
index c6b69b546a8e3e1ac75b103ba2fcfe0d4e925d0f..f349993764418b732f67f5b82b5c848feb844f47 100644 (file)
@@ -126,6 +126,7 @@ extern LttvProcessStatus
   LTTV_STATE_WAIT_FORK,
   LTTV_STATE_WAIT_CPU,
   LTTV_STATE_EXIT,
+  LTTV_STATE_ZOMBIE,
   LTTV_STATE_WAIT,
   LTTV_STATE_RUN;
 
@@ -149,15 +150,13 @@ typedef struct _LttvProcessState {
   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);
 
@@ -198,7 +197,8 @@ GType lttv_traceset_state_get_type (void);
 struct _LttvTraceState {
   LttvTraceContext parent;
 
-  GHashTable *processes;  /* LttvProcessState objects indexed by pid */
+  GHashTable *processes;  /* LttvProcessState objects indexed by pid and
+                             last_cpu */
   guint nb_event, save_interval;
   /* Block/char devices, locks, memory pages... */
   GQuark *eventtype_names;
This page took 0.031785 seconds and 4 git commands to generate.