diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-09-29 11:41:55 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-10-20 05:51:30 -0400 |
commit | 870e2a284567714335d125c390366dce882d726f (patch) | |
tree | 9efbf834eccda9d06a7a16f6ee12b0cc2b627a1f /kernel/time | |
parent | c5b77a3d3a716a5c61a1999d7f2a78e9c39fd1b0 (diff) |
timer_list: add base address to clock base
The base address of a (per cpu) clock base is a useful debug info.
Add it and bump the version number of timer_lists.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time')
-rw-r--r-- | kernel/time/timer_list.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/time/timer_list.c b/kernel/time/timer_list.c index 5479c6e7a023..f6426911e35a 100644 --- a/kernel/time/timer_list.c +++ b/kernel/time/timer_list.c | |||
@@ -110,6 +110,7 @@ next_one: | |||
110 | static void | 110 | static void |
111 | print_base(struct seq_file *m, struct hrtimer_clock_base *base, u64 now) | 111 | print_base(struct seq_file *m, struct hrtimer_clock_base *base, u64 now) |
112 | { | 112 | { |
113 | SEQ_printf(m, " .base: %p\n", base); | ||
113 | SEQ_printf(m, " .index: %d\n", | 114 | SEQ_printf(m, " .index: %d\n", |
114 | base->index); | 115 | base->index); |
115 | SEQ_printf(m, " .resolution: %Lu nsecs\n", | 116 | SEQ_printf(m, " .resolution: %Lu nsecs\n", |
@@ -249,7 +250,7 @@ static int timer_list_show(struct seq_file *m, void *v) | |||
249 | u64 now = ktime_to_ns(ktime_get()); | 250 | u64 now = ktime_to_ns(ktime_get()); |
250 | int cpu; | 251 | int cpu; |
251 | 252 | ||
252 | SEQ_printf(m, "Timer List Version: v0.3\n"); | 253 | SEQ_printf(m, "Timer List Version: v0.4\n"); |
253 | SEQ_printf(m, "HRTIMER_MAX_CLOCK_BASES: %d\n", HRTIMER_MAX_CLOCK_BASES); | 254 | SEQ_printf(m, "HRTIMER_MAX_CLOCK_BASES: %d\n", HRTIMER_MAX_CLOCK_BASES); |
254 | SEQ_printf(m, "now at %Ld nsecs\n", (unsigned long long)now); | 255 | SEQ_printf(m, "now at %Ld nsecs\n", (unsigned long long)now); |
255 | 256 | ||