LTT_EVENT_SOFT_IRQ_EXIT,
LTT_EVENT_SCHEDCHANGE,
LTT_EVENT_FORK,
+ LTT_EVENT_KERNEL_THREAD,
LTT_EVENT_EXIT,
LTT_EVENT_FREE,
LTT_EVENT_EXEC,
LttvProcessStatus s;
} LttvExecutionState;
-
typedef struct _LttvProcessState {
guint pid;
guint ppid;
* (Mathieu) */
guint cpu; /* CPU where process is scheduled (being either in
the active or inactive runqueue)*/
+ gboolean kernel_thread; /* Is this thread a kernel_thread ? */
// guint last_tracefile_index; /* index in the trace for cpu tracefile */
+ LttvTracefileState *usertrace; /* Associated usertrace */
/* opened file descriptors, address map?... */
} LttvProcessState;
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;
//LttvProcessState *process;
GQuark tracefile_name;
+ guint cpu; /* Current cpu of the tracefile */
// guint saved_position;
};