nohz: Use enum code for tick stop failure tracing message
authorFrederic Weisbecker <fweisbec@gmail.com>
Fri, 11 Dec 2015 02:27:25 +0000 (03:27 +0100)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 2 Mar 2016 15:42:15 +0000 (16:42 +0100)
commite6e6cc22e067a6f44449aa8fd0328404079c3ba5
treea1e33f1b5e0c0cd1193bdf0e906fff97021c0d67
parentd027d45d8a17a4145eab2d841140e9acbb7feb59
nohz: Use enum code for tick stop failure tracing message

It makes nohz tracing more lightweight, standard and easier to parse.

Examples:

       user_loop-2904  [007] d..1   517.701126: tick_stop: success=1 dependency=NONE
       user_loop-2904  [007] dn.1   518.021181: tick_stop: success=0 dependency=SCHED
    posix_timers-6142  [007] d..1  1739.027400: tick_stop: success=0 dependency=POSIX_TIMER
       user_loop-5463  [007] dN.1  1185.931939: tick_stop: success=0 dependency=PERF_EVENTS

Suggested-by: Peter Zijlstra <peterz@infradead.org>
Reviewed-by: Chris Metcalf <cmetcalf@ezchip.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Chris Metcalf <cmetcalf@ezchip.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Luiz Capitulino <lcapitulino@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
include/linux/tick.h
include/trace/events/timer.h
kernel/time/tick-sched.c