// guint last_tracefile_index; /* index in the trace for cpu tracefile */
LttvTracefileState *usertrace; /* Associated usertrace */
/* opened file descriptors, address map?... */
+ GArray *user_stack; /* User space function call stack */
+ guint64 current_function;
} LttvProcessState;
#define ANY_CPU 0 /* For clarity sake : a call to lttv_state_find_process for
GHashTable *processes; /* LttvProcessState objects indexed by pid and
last_cpu */
+ GHashTable *usertraces; /* GPtrArray objects indexed by pid, containing
+ pointers to LttvTracefileState objects. */
guint nb_event, save_interval;
/* Block/char devices, locks, memory pages... */
GQuark *eventtype_names;
GQuark *syscall_names;
+ guint nb_syscalls;
GQuark *trap_names;
GQuark *irq_names;
GQuark *soft_irq_names;
/* Array of per cpu running process */
LttvProcessState **running_process;
-
};
struct _LttvTraceStateClass {