trace: assign defaults at register_ftrace_event
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 4 Feb 2009 22:16:39 +0000 (20:16 -0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 5 Feb 2009 13:35:46 +0000 (14:35 +0100)
commit268ccda0cb4d1292029d07ee3dbd07117baf6ecb
tree7683e02758d3f768ad21414abf39b00773e87940
parent43769f10b4826376cbf4ce17af74a5b4e8dc4fcd
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>
block/blktrace.c
kernel/trace/trace.c
kernel/trace/trace_branch.c
kernel/trace/trace_output.c