lkml.org 
[lkml]   [2010]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RESEND][PATCH 1/2 v2] perf_event: cleanup for event profile buffer operation
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@gmail.com>
> Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
> Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
> ---
> 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!



\
 
 \ /
  Last update: 2010-01-28 11:35    [W:0.051 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site