64 bits state.c
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 23 May 2006 14:46:33 +0000 (14:46 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 23 May 2006 14:46:33 +0000 (14:46 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1834 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/lttv/state.c

index e8bc78c13561aafd6311f11754c85094152ca5bc..89beda3c82c634dd0cdf7ebc3a971d48fd44cb68 100644 (file)
@@ -1365,8 +1365,8 @@ static gboolean trap_entry(void *hook_data, void *call_data)
 
   LttvExecutionSubmode submode;
 
-  guint nb_traps = ((LttvTraceState *)(s->parent.t_context))->nb_traps;
-  guint trap = ltt_event_get_unsigned(e, f);
+  guint64 nb_traps = ((LttvTraceState *)(s->parent.t_context))->nb_traps;
+  guint64 trap = ltt_event_get_long_unsigned(e, f);
 
   if(trap < nb_traps) {
     submode = ((LttvTraceState *)(s->parent.t_context))->trap_names[trap];
@@ -1447,7 +1447,7 @@ static gboolean soft_irq_entry(void *hook_data, void *call_data)
   LttvExecutionSubmode submode;
 
   submode = ((LttvTraceState *)(s->parent.t_context))->soft_irq_names[
-      ltt_event_get_unsigned(e, f)];
+      ltt_event_get_long_unsigned(e, f)];
 
   /* Do something with the info about being in user or system mode when int? */
   push_state(s, LTTV_STATE_SOFT_IRQ, submode);
This page took 0.025176 seconds and 4 git commands to generate.