tracing: Factorize the events profile accounting
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 17 Sep 2009 22:54:43 +0000 (00:54 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Fri, 18 Sep 2009 04:14:32 +0000 (06:14 +0200)
Factorize the events enabling accounting in a common tracing core
helper. This reduces the size of the profile_enable() and
profile_disable() callbacks for each trace events.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Jason Baron <jbaron@redhat.com>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>

No differences found