fix array relocation in push_state
[lttv.git] / ltt / branches / poly / lttv / lttv / state.h
index f8f7a5775e59da7d1cede732048b0abf04b2a499..720506861484f6b17de9956e21bdd7197af84f3e 100644 (file)
@@ -186,6 +186,9 @@ typedef struct _LttvProcessState {
   GQuark pid_time;
   GArray *execution_stack;         /* Array of LttvExecutionState */
   LttvExecutionState *state;       /* Top of interrupt stack */
+      /* WARNING : each time the execution_stack size is modified, the state
+       * must be reget : g_array_set_size can have to move the array.
+       * (Mathieu) */
   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?... */
This page took 0.023834 seconds and 4 git commands to generate.