Files
linux-apfs/include/linux
Xiao Guangrong 430ad5a600 perf: Factorize trace events raw sample buffer operations
Introduce ftrace_perf_buf_prepare() and ftrace_perf_buf_submit() to
gather the common code that operates on raw events sampling buffer.
This cleans up redundant code between regular trace events, syscall
events and kprobe events.

Changelog v1->v2:
- Rename function name as per Masami and Frederic's suggestion
- Add __kprobes for ftrace_perf_buf_prepare() and make
  ftrace_perf_buf_submit() inline as per Masami's suggestion
- Export ftrace_perf_buf_prepare since modules will use it

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Jason Baron <jbaron@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <4B60E92D.9000808@cn.fujitsu.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
2010-01-29 02:02:57 +01:00
..
2009-12-16 10:23:43 -08:00
2009-12-16 07:20:13 -08:00
2009-12-30 08:41:07 +01:00
2009-12-06 21:10:56 +01:00
2009-12-10 23:52:01 +00:00
2009-12-15 08:53:33 -08:00
2009-12-10 15:02:53 +01:00
2009-12-23 13:33:54 +01:00
2009-12-14 23:55:34 +01:00
2009-12-14 21:17:29 +01:00
2009-12-21 11:32:27 -05:00
2009-12-25 17:30:22 -08:00
2009-12-30 12:49:17 -08:00
2009-12-16 06:56:12 -08:00
2009-12-09 17:14:38 +11:00
2009-12-15 08:53:36 -08:00
2010-01-16 12:29:32 +01:00
2009-12-15 08:53:20 -08:00
2009-12-12 13:08:15 +01:00
2009-12-09 12:12:44 +02:00
2010-01-04 15:41:47 -08:00
2009-12-15 08:53:25 -08:00
2009-12-15 08:53:20 -08:00
2009-12-16 22:32:29 -05:00
2009-12-15 08:53:16 -08:00
2009-12-25 17:30:22 -08:00
2009-12-16 12:16:49 -05:00