Re: [RESEND][PATCH 1/2 v2] perf_event: cleanup for event profilebuffer operation

From: Frederic Weisbecker
Date: Thu Jan 28 2010 - 05:33:55 EST


On Thu, Jan 28, 2010 at 09:32:29AM +0800, Xiao Guangrong wrote:
> Introduce ftrace_perf_buf_prepare() and ftrace_perf_buf_submit() to
> operate event profile buffer, clean up redundant code
>
> Changlog v1->v2:
> - Rename function name address Masami and Frederic's suggestion
> - Add __kprobes for ftrace_perf_buf_prepare() and make
> ftrace_perf_buf_submit() inline address Masami's suggestion
> - Export ftrace_perf_buf_prepare since module will use it
>
> Acked-by: Frederic Weisbecker <fweisbec@xxxxxxxxx>
> Acked-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
> Signed-off-by: Xiao Guangrong <xiaoguangrong@xxxxxxxxxxxxxx>
> ---
> include/linux/ftrace_event.h | 18 ++++++-
> include/trace/ftrace.h | 48 +++-----------------
> kernel/trace/trace_event_profile.c | 52 +++++++++++++++++++--
> kernel/trace/trace_kprobe.c | 86 ++++-------------------------------
> kernel/trace/trace_syscalls.c | 71 ++++-------------------------
> 5 files changed, 88 insertions(+), 187 deletions(-)


I'm queuing these two patches, thanks Xiao!

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/