diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-06-05 10:50:29 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-05 10:50:29 -0400 |
commit | 918143e8b7d6153d7a83a3f854323407939f4a7e (patch) | |
tree | 34c0b1434516d146fc3811a6d071b052dd59342b /include | |
parent | 64edbc562034f2ec3fce382cb208fab40586d005 (diff) | |
parent | 563af16c30ede41eda2d614195d88e07f7c7103d (diff) |
Merge branch 'tip/tracing/ftrace-4' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into tracing/ftrace
Diffstat (limited to 'include')
-rw-r--r-- | include/trace/ftrace.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h index b5478dab579b..40ede4db4d88 100644 --- a/include/trace/ftrace.h +++ b/include/trace/ftrace.h | |||
@@ -104,6 +104,7 @@ | |||
104 | * field = (typeof(field))entry; | 104 | * field = (typeof(field))entry; |
105 | * | 105 | * |
106 | * p = get_cpu_var(ftrace_event_seq); | 106 | * p = get_cpu_var(ftrace_event_seq); |
107 | * trace_seq_init(p); | ||
107 | * ret = trace_seq_printf(s, <TP_printk> "\n"); | 108 | * ret = trace_seq_printf(s, <TP_printk> "\n"); |
108 | * put_cpu(); | 109 | * put_cpu(); |
109 | * if (!ret) | 110 | * if (!ret) |
@@ -167,6 +168,7 @@ ftrace_raw_output_##call(struct trace_iterator *iter, int flags) \ | |||
167 | field = (typeof(field))entry; \ | 168 | field = (typeof(field))entry; \ |
168 | \ | 169 | \ |
169 | p = &get_cpu_var(ftrace_event_seq); \ | 170 | p = &get_cpu_var(ftrace_event_seq); \ |
171 | trace_seq_init(p); \ | ||
170 | ret = trace_seq_printf(s, #call ": " print); \ | 172 | ret = trace_seq_printf(s, #call ": " print); \ |
171 | put_cpu(); \ | 173 | put_cpu(); \ |
172 | if (!ret) \ | 174 | if (!ret) \ |