timer: Print timer fn when dump timer queue
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 26 Nov 2008 11:11:26 +0000 (11:11 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 26 Nov 2008 11:11:26 +0000 (11:11 +0000)
Print timer fn when dump timer queue, which would be
useful to understand type of the timer.

Signed-off-by Kevin Tian <kevin.tian@intel.com>

xen/common/timer.c

index 0f74b27d3898634f1ba207f12fc44bfce3540633..97496dc5ac6f2f4f208120da6d4b65d523fcd113 100644 (file)
@@ -494,12 +494,14 @@ static void dump_timerq(unsigned char key)
         for ( j = 1; j <= GET_HEAP_SIZE(ts->heap); j++ )
         {
             t = ts->heap[j];
-            printk ("  %d : %p ex=0x%08X%08X %p\n",
-                    j, t, (u32)(t->expires>>32), (u32)t->expires, t->data);
+            printk ("  %d : %p ex=0x%08X%08X %p %p\n",
+                    j, t, (u32)(t->expires>>32), (u32)t->expires,
+                    t->data, t->function);
         }
         for ( t = ts->list, j = 0; t != NULL; t = t->list_next, j++ )
-            printk (" L%d : %p ex=0x%08X%08X %p\n",
-                    j, t, (u32)(t->expires>>32), (u32)t->expires, t->data);
+            printk (" L%d : %p ex=0x%08X%08X %p %p\n",
+                    j, t, (u32)(t->expires>>32), (u32)t->expires,
+                    t->data, t->function);
         spin_unlock_irqrestore(&ts->lock, flags);
         printk("\n");
     }