Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 870e2a28 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

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: default avatarThomas Gleixner <tglx@linutronix.de>
parent c5b77a3d
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -110,6 +110,7 @@ print_active_timers(struct seq_file *m, struct hrtimer_clock_base *base,
static void
static void
print_base(struct seq_file *m, struct hrtimer_clock_base *base, u64 now)
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",
	SEQ_printf(m, "  .index:      %d\n",
			base->index);
			base->index);
	SEQ_printf(m, "  .resolution: %Lu nsecs\n",
	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());
	u64 now = ktime_to_ns(ktime_get());
	int cpu;
	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, "HRTIMER_MAX_CLOCK_BASES: %d\n", HRTIMER_MAX_CLOCK_BASES);
	SEQ_printf(m, "now at %Ld nsecs\n", (unsigned long long)now);
	SEQ_printf(m, "now at %Ld nsecs\n", (unsigned long long)now);