diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-13 01:30:52 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-13 01:30:52 -0400 |
commit | d2e82546ae98eee353fae57e389f487586fe380d (patch) | |
tree | 887c0885760763d2e6710f418108ec322fb492fd /kernel/trace/trace.h | |
parent | 7afe16c2bbf065e30d692423ad2c7e77c4cfe9a5 (diff) | |
parent | 899039e8746bb9a09b6487ddb8ab2275ce9d0256 (diff) |
Merge branch 'tip/tracing/ftrace' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into tracing/ftrace
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 35cfa7bbaf38..67595b8f0f15 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -776,6 +776,11 @@ extern struct ftrace_event_call __stop_ftrace_events[]; | |||
776 | extern const char *__start___trace_bprintk_fmt[]; | 776 | extern const char *__start___trace_bprintk_fmt[]; |
777 | extern const char *__stop___trace_bprintk_fmt[]; | 777 | extern const char *__stop___trace_bprintk_fmt[]; |
778 | 778 | ||
779 | /* | ||
780 | * The double __builtin_constant_p is because gcc will give us an error | ||
781 | * if we try to allocate the static variable to fmt if it is not a | ||
782 | * constant. Even with the outer if statement optimizing out. | ||
783 | */ | ||
779 | #define event_trace_printk(ip, fmt, args...) \ | 784 | #define event_trace_printk(ip, fmt, args...) \ |
780 | do { \ | 785 | do { \ |
781 | __trace_printk_check_format(fmt, ##args); \ | 786 | __trace_printk_check_format(fmt, ##args); \ |