resourceview: add trap resource
[lttv.git] / ltt / branches / poly / lttv / lttv / state.h
index 07867b10ceffd1eea2052097598a59fb0b3d03e5..aad7ef4b670c630fbdd6582726abcd521a8c3339 100644 (file)
@@ -311,6 +311,7 @@ typedef struct _LttvCPUState {
   GArray *mode_stack;
   guint last_irq;
   guint last_soft_irq;
+  guint last_trap;
 } LttvCPUState;
 
 typedef struct _LttvIRQState {
@@ -321,6 +322,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;
@@ -351,6 +356,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 */
 };
 
This page took 0.031143 seconds and 4 git commands to generate.