diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-11-26 11:11:26 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-11-26 11:11:26 +0000 |
commit | 63e8b9079489139fe9e23fc8e155f83e81eadc95 (patch) | |
tree | 9ae426d2c1030cfdad4ea2285df810ee145d6a51 /xen/common/timer.c | |
parent | 26943a1d9403630485085a36a5b246f56e22312f (diff) | |
download | xen-63e8b9079489139fe9e23fc8e155f83e81eadc95.tar.gz xen-63e8b9079489139fe9e23fc8e155f83e81eadc95.tar.bz2 xen-63e8b9079489139fe9e23fc8e155f83e81eadc95.zip |
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>
Diffstat (limited to 'xen/common/timer.c')
-rw-r--r-- | xen/common/timer.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/xen/common/timer.c b/xen/common/timer.c index 0f74b27d38..97496dc5ac 100644 --- a/xen/common/timer.c +++ b/xen/common/timer.c @@ -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"); } |