diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2013-04-20 15:35:50 (GMT) |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2013-04-24 13:48:59 (GMT) |
commit | 2c82d1be4d9d70b5e3da6e179bb033bd53e95299 (patch) | |
tree | 22610757e7a2a65f61f9b8ded60559dc9a9794a5 /include/trace | |
parent | 447a34a2b77da949ea0870c2bef9b501d2d4c4ab (diff) | |
download | linux-2c82d1be4d9d70b5e3da6e179bb033bd53e95299.tar.xz |
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 <mingo@kernel.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Geoff Levand <geoff@infradead.org>
Cc: Gilad Ben Yossef <gilad@benyossef.com>
Cc: Hakan Akkan <hakanakkan@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Kevin Hilman <khilman@linaro.org>
Cc: Li Zhong <zhong@linux.vnet.ibm.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/timer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/events/timer.h b/include/trace/events/timer.h index f5eb53e..e967dd8 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), |