kernel-fxtec-pro1x/kernel/trace
Lai Jiangshan 667d241258 ring_buffer: fix ring_buffer_read_page()
Impact: change API and init bpage when copy

ring_buffer_read_page()/rb_remove_entries() may be called for
a partially consumed page.

Add a parameter for rb_remove_entries() and make it update
cpu_buffer->entries correctly for partially consumed pages.

ring_buffer_read_page() now returns the offset to the next event.

Init the bpage's time_stamp when return value is 0.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
2009-02-10 09:17:37 -05:00
..
blktrace.c tracing/blktrace: move the tracing file to kernel/trace 2009-02-09 10:51:02 +01:00
ftrace.c trace: trivial fixes in comment typos. 2009-02-07 20:03:36 -05:00
Kconfig tracing/blktrace: move the tracing file to kernel/trace, fix 2009-02-09 12:07:28 +01:00
kmemtrace.c tracing: Introduce trace_buffer_{lock_reserve,unlock_commit} 2009-02-06 01:01:41 +01:00
Makefile tracing/blktrace: move the tracing file to kernel/trace 2009-02-09 10:51:02 +01:00
ring_buffer.c ring_buffer: fix ring_buffer_read_page() 2009-02-10 09:17:37 -05:00
trace.c tracing: clean up splice code 2009-02-09 12:24:58 -05:00
trace.h tracing: splice support for tracing_pipe 2009-02-09 12:24:34 -05:00
trace_boot.c tracing: Introduce trace_buffer_{lock_reserve,unlock_commit} 2009-02-06 01:01:41 +01:00
trace_branch.c trace: Call tracing_reset_online_cpus before tracer->init() 2009-02-06 01:01:41 +01:00
trace_functions.c trace: Call tracing_reset_online_cpus before tracer->init() 2009-02-06 01:01:41 +01:00
trace_functions_graph.c tracing/function-graph-tracer: handle the leaf functions from trace_pipe 2009-02-09 12:37:27 +01:00
trace_hw_branches.c Merge branch 'tip/tracing/core/devel' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into tracing/ftrace 2009-02-09 10:35:12 +01:00
trace_irqsoff.c trace: Remove unused trace_array_cpu parameter 2009-02-05 14:35:47 +01:00
trace_mmiotrace.c tracing: Introduce trace_buffer_{lock_reserve,unlock_commit} 2009-02-06 01:01:41 +01:00
trace_nop.c trace: Call tracing_reset_online_cpus before tracer->init() 2009-02-06 01:01:41 +01:00
trace_output.c Merge branch 'tip/tracing/core/devel' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into tracing/ftrace 2009-02-09 10:35:12 +01:00
trace_output.h trace: make the trace_event callbacks return enum print_line_t 2009-02-04 20:48:39 +01:00
trace_power.c tracing/power: move the power trace headers to a dedicated file 2009-02-09 10:51:38 +01:00
trace_sched_switch.c trace: Call tracing_reset_online_cpus before tracer->init() 2009-02-06 01:01:41 +01:00
trace_sched_wakeup.c trace: Remove unused trace_array_cpu parameter 2009-02-05 14:35:47 +01:00
trace_selftest.c tracing/function-graph-tracer: provide a selftest for the function graph tracer 2009-02-09 10:51:37 +01:00
trace_selftest_dynamic.c
trace_stack.c trace: better use of stack_trace_enabled for boot up code 2008-12-18 12:56:56 +01:00
trace_stat.c tracing: trace_stat.c cleanup 2009-01-15 11:31:21 +01:00
trace_stat.h tracing/ftrace: separate events tracing and stats tracing engine 2009-01-14 12:11:37 +01:00
trace_sysprof.c trace: Call tracing_reset_online_cpus before tracer->init() 2009-02-06 01:01:41 +01:00
trace_workqueue.c trace_workqueue: use percpu data for workqueue stat 2009-01-20 13:06:59 +01:00