Re: [PATCH 1/2] tracing: Factorize the events profile accounting

Steven Rostedt
2009-09-18T02:15:43Z

On Fri, 2009-09-18 at 03:33 +0200, Frederic Weisbecker wrote:
> 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>

-- Steve

> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Li Zefan <lizf@cn.fujitsu.com>
> Cc: Jason Baron <jbaron@redhat.com>
> Cc: Masami Hiramatsu <mhiramat@redhat.com>
> Cc: Ingo Molnar <mingo@elte.hu>
> ---
> include/linux/ftrace_event.h | 4 ++--
> include/linux/syscalls.h | 24 ++++++++----------------
> include/trace/ftrace.h | 28 ++++++++--------------------
> kernel/trace/trace_event_profile.c | 20 ++++++++++++++++++--
> 4 files changed, 36 insertions(+), 40 deletions(-)