X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Flttv%2Fstate.h;h=7334e7815a5ee482cd8554bbcdd97a14fd9a5b9b;hb=c7620c793509802e9bc0b789a5b72b9510bb6b0e;hp=c71049a82d63ffc713aae7ece2f8f09d728239ee;hpb=0305fe774206ec12a98378be3cf891446b1b901c;p=lttv.git diff --git a/ltt/branches/poly/lttv/lttv/state.h b/ltt/branches/poly/lttv/lttv/state.h index c71049a8..7334e781 100644 --- a/ltt/branches/poly/lttv/lttv/state.h +++ b/ltt/branches/poly/lttv/lttv/state.h @@ -212,6 +212,7 @@ extern LttvCPUMode LTTV_CPU_IDLE, LTTV_CPU_BUSY, LTTV_CPU_IRQ, + LTTV_CPU_SOFT_IRQ, LTTV_CPU_TRAP; typedef GQuark LttvIRQMode; @@ -259,6 +260,7 @@ typedef struct _LttvProcessState { guint64 current_function; LttvProcessType type; /* kernel thread or user space ? */ guint target_pid; /* target PID of the current event. */ + guint free_events; /* 0 : none, 1 : free or exit dead, 2 : should delete */ } LttvProcessState; #define ANY_CPU 0 /* For clarity sake : a call to lttv_state_find_process for @@ -310,6 +312,7 @@ typedef struct _LttvCPUState { GArray *mode_stack; guint last_irq; guint last_soft_irq; + guint last_trap; } LttvCPUState; typedef struct _LttvIRQState { @@ -320,6 +323,10 @@ typedef struct _LttvSoftIRQState { guint running; /* number of times it is currently running (on different processors) */ } LttvSoftIRQState; +typedef struct _LttvTrapState { + guint running; /* number of times it is currently running (on different processors) */ +} LttvTrapState; + typedef struct _LttvBdevState { GArray *mode_stack; } LttvBdevState; @@ -350,6 +357,7 @@ struct _LttvTraceState { LttvCPUState *cpu_states; /* state of each cpu */ LttvIRQState *irq_states; /* state of each irq handler */ LttvSoftIRQState *soft_irq_states; /* state of each softirq */ + LttvTrapState *trap_states; /* state of each trap */ GHashTable *bdev_states; /* state of the block devices */ };