ia64/xen-unstable

changeset 18835:32aecede4626

timer: Print timer fn when dump timer queue

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>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Nov 26 11:11:26 2008 +0000 (2008-11-26)
parents 1975e33b79f1
children ab0c1bdede53
files xen/common/timer.c
line diff
     1.1 --- a/xen/common/timer.c	Wed Nov 26 11:08:45 2008 +0000
     1.2 +++ b/xen/common/timer.c	Wed Nov 26 11:11:26 2008 +0000
     1.3 @@ -494,12 +494,14 @@ static void dump_timerq(unsigned char ke
     1.4          for ( j = 1; j <= GET_HEAP_SIZE(ts->heap); j++ )
     1.5          {
     1.6              t = ts->heap[j];
     1.7 -            printk ("  %d : %p ex=0x%08X%08X %p\n",
     1.8 -                    j, t, (u32)(t->expires>>32), (u32)t->expires, t->data);
     1.9 +            printk ("  %d : %p ex=0x%08X%08X %p %p\n",
    1.10 +                    j, t, (u32)(t->expires>>32), (u32)t->expires,
    1.11 +                    t->data, t->function);
    1.12          }
    1.13          for ( t = ts->list, j = 0; t != NULL; t = t->list_next, j++ )
    1.14 -            printk (" L%d : %p ex=0x%08X%08X %p\n",
    1.15 -                    j, t, (u32)(t->expires>>32), (u32)t->expires, t->data);
    1.16 +            printk (" L%d : %p ex=0x%08X%08X %p %p\n",
    1.17 +                    j, t, (u32)(t->expires>>32), (u32)t->expires,
    1.18 +                    t->data, t->function);
    1.19          spin_unlock_irqrestore(&ts->lock, flags);
    1.20          printk("\n");
    1.21      }