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);
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);
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;