diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-09-25 23:50:23 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-10-20 11:51:30 +0200 |
commit | e67ef25a35b949561a9bd77693523ec94ab4a278 (patch) | |
tree | 225d5c1df4532c57698d081c39306f21181eb38d /kernel/time/timer_list.c | |
parent | 0cfd81031a26717fe14380d18275f8e217571615 (diff) | |
download | kernel_samsung_espresso10-e67ef25a35b949561a9bd77693523ec94ab4a278.zip kernel_samsung_espresso10-e67ef25a35b949561a9bd77693523ec94ab4a278.tar.gz kernel_samsung_espresso10-e67ef25a35b949561a9bd77693523ec94ab4a278.tar.bz2 |
timer_list: print real timer address
The current timer_list output prints the address of the on stack copy
of the active hrtimer instead of the hrtimer itself.
Print the address of the real timer instead.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time/timer_list.c')
-rw-r--r-- | kernel/time/timer_list.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/kernel/time/timer_list.c b/kernel/time/timer_list.c index a40e20f..ec9ea6c 100644 --- a/kernel/time/timer_list.c +++ b/kernel/time/timer_list.c @@ -47,13 +47,14 @@ static void print_name_offset(struct seq_file *m, void *sym) } static void -print_timer(struct seq_file *m, struct hrtimer *timer, int idx, u64 now) +print_timer(struct seq_file *m, struct hrtimer *taddr, struct hrtimer *timer, + int idx, u64 now) { #ifdef CONFIG_TIMER_STATS char tmp[TASK_COMM_LEN + 1]; #endif SEQ_printf(m, " #%d: ", idx); - print_name_offset(m, timer); + print_name_offset(m, taddr); SEQ_printf(m, ", "); print_name_offset(m, timer->function); SEQ_printf(m, ", S:%02lx", timer->state); @@ -99,7 +100,7 @@ next_one: tmp = *timer; spin_unlock_irqrestore(&base->cpu_base->lock, flags); - print_timer(m, &tmp, i, now); + print_timer(m, timer, &tmp, i, now); next++; goto next_one; } |