diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-02-04 17:16:39 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-05 08:35:46 -0500 |
commit | 268ccda0cb4d1292029d07ee3dbd07117baf6ecb (patch) | |
tree | 7683e02758d3f768ad21414abf39b00773e87940 /kernel/trace/trace_branch.c | |
parent | 43769f10b4826376cbf4ce17af74a5b4e8dc4fcd (diff) |
trace: assign defaults at register_ftrace_event
Impact: simplification of tracers
As all tracers are doing this we might as well do it in
register_ftrace_event and save one branch each time we call these
callbacks.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_branch.c')
-rw-r--r-- | kernel/trace/trace_branch.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/trace/trace_branch.c b/kernel/trace/trace_branch.c index 7ac72a44b2d3..297deb202b68 100644 --- a/kernel/trace/trace_branch.c +++ b/kernel/trace/trace_branch.c | |||
@@ -182,9 +182,6 @@ static struct trace_event trace_branch_event = { | |||
182 | .type = TRACE_BRANCH, | 182 | .type = TRACE_BRANCH, |
183 | .trace = trace_branch_print, | 183 | .trace = trace_branch_print, |
184 | .latency_trace = trace_branch_print, | 184 | .latency_trace = trace_branch_print, |
185 | .raw = trace_nop_print, | ||
186 | .hex = trace_nop_print, | ||
187 | .binary = trace_nop_print, | ||
188 | }; | 185 | }; |
189 | 186 | ||
190 | static struct tracer branch_trace __read_mostly = | 187 | static struct tracer branch_trace __read_mostly = |