sufficient for the analysis, and possibly organized quite differently.
The state information is added to LttvTracesetContext, LttvTraceContext
- and LttvTracefileContext objects, used by processTrace, through
+ and LttvTracefileContext objects, used by process_traceset, through
subtyping. The context objects already reflect the multiple tracefiles
(one per cpu) per trace and multiple traces per trace set. The state
objects defined here simply add fields to the relevant context objects.
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);
/* opened file descriptors, address map?... */
} LttvProcessState;
-
LttvProcessState *
lttv_state_find_process(LttvTracefileState *tfs, guint pid);