From: Frederic Weisbecker Date: Sat, 20 Apr 2013 15:35:50 +0000 (+0200) Subject: nohz: Fix unavailable tick_stop tracepoint in dynticks idle X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2c82d1be4d9d70b5e3da6e179bb033bd53e95299;p=linux-beck.git nohz: Fix unavailable tick_stop tracepoint in dynticks idle The trace_tick_stop() tracepoint is only available in full dynticks. But it's also used by dynticks-idle so let's build it for the latter config as well. This fixes: kernel/time/tick-sched.c: In function tick_nohz_stop_sched_tick: kernel/time/tick-sched.c:644: error: implicit declaration of function trace_tick_stop make[2]: *** [kernel/time/tick-sched.o] Erreur 1 Reported-by: Ingo Molnar Signed-off-by: Frederic Weisbecker Cc: Chris Metcalf Cc: Christoph Lameter Cc: Geoff Levand Cc: Gilad Ben Yossef Cc: Hakan Akkan Cc: Ingo Molnar Cc: Kevin Hilman Cc: Li Zhong Cc: Oleg Nesterov Cc: Paul E. McKenney Cc: Paul Gortmaker Cc: Peter Zijlstra Cc: Steven Rostedt Cc: Thomas Gleixner --- diff --git a/include/trace/events/timer.h b/include/trace/events/timer.h index f5eb53eb658f..e967dd8a34c6 100644 --- a/include/trace/events/timer.h +++ b/include/trace/events/timer.h @@ -323,7 +323,7 @@ TRACE_EVENT(itimer_expire, (int) __entry->pid, (unsigned long long)__entry->now) ); -#ifdef CONFIG_NO_HZ_FULL +#ifdef CONFIG_NO_HZ_COMMON TRACE_EVENT(tick_stop, TP_PROTO(int success, char *error_msg),