Messages in this thread | | | Date | Thu, 28 Jan 2010 11:33:44 +0100 | From | Frederic Weisbecker <> | Subject | Re: [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!
| |