desactivate exit_process until we have the release_task event
[lttv.git] / ltt / branches / poly / lttv / lttv / state.h
index 988ee647d1eee61e213ca48c56e3b8a1ad07803b..9d1415a15e4f496baa17da73798206f4d4b05ef0 100644 (file)
@@ -60,8 +60,10 @@ typedef struct _LttvTraceStateClass LttvTraceStateClass;
 typedef struct _LttvTracefileState LttvTracefileState;
 typedef struct _LttvTracefileStateClass LttvTracefileStateClass;
 
+gint lttv_state_hook_add_event_hooks(void *hook_data, void *call_data);
 void lttv_state_add_event_hooks(LttvTracesetState *self);
 
+gint lttv_state_hook_remove_event_hooks(void *hook_data, void *call_data);
 void lttv_state_remove_event_hooks(LttvTracesetState *self);
 
 void lttv_state_save_add_event_hooks(LttvTracesetState *self);
@@ -153,9 +155,6 @@ typedef struct _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);
 
@@ -196,7 +195,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.022682 seconds and 4 git commands to generate.