[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-098991fccfc7c0dd5fdfc6ed2ed965ad80f14be5@git.kernel.org>
Date: Mon, 24 Apr 2017 10:01:04 -0700
From: tip-bot for Frederic Weisbecker <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: hpa@...or.com, fweisbec@...il.com, torvalds@...ux-foundation.org,
pavel@....cz, peterz@...radead.org, riel@...hat.com,
hartsjc@...hat.com, tim@...bash.co.uk, mingo@...nel.org,
tglx@...utronix.de, linux-kernel@...r.kernel.org
Subject: [tip:timers/urgent] nohz: Print more debug info in
tick_nohz_stop_sched_tick()
Commit-ID: 098991fccfc7c0dd5fdfc6ed2ed965ad80f14be5
Gitweb: http://git.kernel.org/tip/098991fccfc7c0dd5fdfc6ed2ed965ad80f14be5
Author: Frederic Weisbecker <fweisbec@...il.com>
AuthorDate: Mon, 24 Apr 2017 16:04:37 +0200
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Mon, 24 Apr 2017 16:27:09 +0200
nohz: Print more debug info in tick_nohz_stop_sched_tick()
Print more debug info when triggering this warning:
> ------------[ cut here ]------------
> WARNING: CPU: 0 PID: 0 at kernel/time/tick-sched.c:874 __tick_nohz_idle_enter+0x461/0x490
Signed-off-by: Frederic Weisbecker <fweisbec@...il.com>
Cc: James Hartsock <hartsjc@...hat.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Pavel Machek <pavel@....cz>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Rik van Riel <riel@...hat.com>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Tim Wright <tim@...bash.co.uk>
Link: http://lkml.kernel.org/r/20170424140436.GD21353@lerouge
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
kernel/time/tick-sched.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index be7ca4d..b2df684 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -789,6 +789,7 @@ static ktime_t tick_nohz_stop_sched_tick(struct tick_sched *ts,
goto out;
WARN_ON_ONCE(1);
+ printk_once("basemono: %llu ts->next_tick: %llu dev->next_event: %llu\n", basemono, ts->next_tick, dev->next_event);
}
/*
Powered by blists - more mailing lists