]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
timer_list: add base address to clock base
authorThomas Gleixner <tglx@linutronix.de>
Mon, 29 Sep 2008 15:41:55 +0000 (17:41 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 20 Oct 2008 09:51:30 +0000 (11:51 +0200)
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>
kernel/time/timer_list.c

index 5479c6e7a023441e53c9edb0d130eea648b2ca77..f6426911e35a6da3a711e8b8e2cb602a5057a2dc 100644 (file)
@@ -110,6 +110,7 @@ next_one:
 static void
 print_base(struct seq_file *m, struct hrtimer_clock_base *base, u64 now)
 {
+       SEQ_printf(m, "  .base:       %p\n", base);
        SEQ_printf(m, "  .index:      %d\n",
                        base->index);
        SEQ_printf(m, "  .resolution: %Lu nsecs\n",
@@ -249,7 +250,7 @@ static int timer_list_show(struct seq_file *m, void *v)
        u64 now = ktime_to_ns(ktime_get());
        int cpu;
 
-       SEQ_printf(m, "Timer List Version: v0.3\n");
+       SEQ_printf(m, "Timer List Version: v0.4\n");
        SEQ_printf(m, "HRTIMER_MAX_CLOCK_BASES: %d\n", HRTIMER_MAX_CLOCK_BASES);
        SEQ_printf(m, "now at %Ld nsecs\n", (unsigned long long)now);