X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Flttv%2Fstate.h;h=c71049a82d63ffc713aae7ece2f8f09d728239ee;hb=0305fe774206ec12a98378be3cf891446b1b901c;hp=c3bdf1385624b3235027f97c2b4f69cbf999e408;hpb=37b0f1ed7982a8995d29da17a5b1b6b8127eb162;p=lttv.git diff --git a/ltt/branches/poly/lttv/lttv/state.h b/ltt/branches/poly/lttv/lttv/state.h index c3bdf138..c71049a8 100644 --- a/ltt/branches/poly/lttv/lttv/state.h +++ b/ltt/branches/poly/lttv/lttv/state.h @@ -309,12 +309,17 @@ GType lttv_traceset_state_get_type (void); typedef struct _LttvCPUState { GArray *mode_stack; guint last_irq; + guint last_soft_irq; } LttvCPUState; typedef struct _LttvIRQState { GArray *mode_stack; } LttvIRQState; +typedef struct _LttvSoftIRQState { + guint running; /* number of times it is currently running (on different processors) */ +} LttvSoftIRQState; + typedef struct _LttvBdevState { GArray *mode_stack; } LttvBdevState; @@ -334,7 +339,7 @@ struct _LttvTraceState { GQuark *trap_names; guint nb_traps; guint nb_irqs; - guint nb_softirqs; + guint nb_soft_irqs; GQuark *irq_names; GQuark *soft_irq_names; LttTime *max_time_state_recomputed_in_seek; @@ -344,6 +349,7 @@ struct _LttvTraceState { gboolean has_precomputed_states; LttvCPUState *cpu_states; /* state of each cpu */ LttvIRQState *irq_states; /* state of each irq handler */ + LttvSoftIRQState *soft_irq_states; /* state of each softirq */ GHashTable *bdev_states; /* state of the block devices */ };