aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2013-04-24 03:39:24 -0400
committerIngo Molnar <mingo@kernel.org>2013-04-24 03:39:24 -0400
commit447a34a2b77da949ea0870c2bef9b501d2d4c4ab (patch)
treeef6bcfbcd99ddbe366f1de94b6aa75da7c6ea55f /include
parentbf967be396d0c6a52668921e7223856349d04b5e (diff)
parentcb41a29076e9f95547da46578d5c8804f7b8845d (diff)
Merge branch 'timers/nohz-help-testing' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks into timers/nohz
Pull full dynticks helpers from Frederic Weisbecker: - handy tracepoints that allow dynticks analysis, to answer "why does my tick not stop??" questions - select CONFIG_RCU_NOCB_ALL Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/trace/events/timer.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/trace/events/timer.h b/include/trace/events/timer.h
index 425bcfe56c62..f5eb53eb658f 100644
--- a/include/trace/events/timer.h
+++ b/include/trace/events/timer.h
@@ -323,6 +323,27 @@ TRACE_EVENT(itimer_expire,
323 (int) __entry->pid, (unsigned long long)__entry->now) 323 (int) __entry->pid, (unsigned long long)__entry->now)
324); 324);
325 325
326#ifdef CONFIG_NO_HZ_FULL
327TRACE_EVENT(tick_stop,
328
329 TP_PROTO(int success, char *error_msg),
330
331 TP_ARGS(success, error_msg),
332
333 TP_STRUCT__entry(
334 __field( int , success )
335 __string( msg, error_msg )
336 ),
337
338 TP_fast_assign(
339 __entry->success = success;
340 __assign_str(msg, error_msg);
341 ),
342
343 TP_printk("success=%s msg=%s", __entry->success ? "yes" : "no", __get_str(msg))
344);
345#endif
346
326#endif /* _TRACE_TIMER_H */ 347#endif /* _TRACE_TIMER_H */
327 348
328/* This part must be outside protection */ 349/* This part must be outside protection */