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)
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>

No differences found