android_kernel_google_msm/kernel/trace
Steven Rostedt (Red Hat) 17ff13b428 ring-buffer: Fix first commit on sub-buffer having non-zero delta
commit d651aa1d68 upstream.

Each sub-buffer (buffer page) has a full 64 bit timestamp. The events on
that page use a 27 bit delta against that timestamp in order to save on
bits written to the ring buffer. If the time between events is larger than
what the 27 bits can hold, a "time extend" event is added to hold the
entire 64 bit timestamp again and the events after that hold a delta from
that timestamp.

As a "time extend" is always paired with an event, it is logical to just
allocate the event with the time extend, to make things a bit more efficient.

Unfortunately, when the pairing code was written, it removed the "delta = 0"
from the first commit on a page, causing the events on the page to be
slightly skewed.

Fixes: 69d1b839f7 "ring-buffer: Bind time extend and data events together"
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-22 10:32:46 -08:00
..
blktrace.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
ftrace.c ftrace: Have function graph only trace based on global_ops filters 2014-02-20 10:45:32 -08:00
Kconfig ftrace: Update the kconfig for DYNAMIC_FTRACE 2013-03-14 11:29:51 -07:00
Makefile
power-traces.c
ring_buffer.c ring-buffer: Fix first commit on sub-buffer having non-zero delta 2014-02-22 10:32:46 -08:00
ring_buffer_benchmark.c
rpm-traces.c
trace.c tracing: Fix potential out-of-bounds in trace_get_user() 2013-11-20 10:43:19 -08:00
trace.h tracing: Prevent buffer overwrite disabled for latency tracers 2013-04-05 10:04:37 -07:00
trace_branch.c
trace_clock.c
trace_entries.h
trace_event_perf.c perf/ftrace: Fix paranoid level for enabling function tracer 2013-11-29 10:50:33 -08:00
trace_events.c tracing: Do not enable function event with enable 2012-05-10 15:55:43 -04:00
trace_events_filter.c tracing: Fix leaks of filter preds 2013-05-19 10:54:40 -07:00
trace_events_filter_test.h
trace_export.c tracing: Do not enable function event with enable 2012-05-10 15:55:43 -04:00
trace_functions.c
trace_functions_graph.c
trace_irqsoff.c tracing: Prevent buffer overwrite disabled for latency tracers 2013-04-05 10:04:37 -07:00
trace_kdb.c
trace_kprobe.c
trace_mmiotrace.c
trace_nop.c
trace_output.c tracing: Fix stacktrace of latency tracers (irqsoff and friends) 2012-04-19 17:00:13 -04:00
trace_output.h
trace_printk.c
trace_sched_switch.c
trace_sched_wakeup.c tracing: Prevent buffer overwrite disabled for latency tracers 2013-04-05 10:04:37 -07:00
trace_selftest.c tracing: Fix ftrace_dump() 2013-05-11 13:48:14 -07:00
trace_selftest_dynamic.c
trace_stack.c tracing: Fix possible NULL pointer dereferences 2013-06-13 09:45:03 -07:00
trace_stat.c tracing: Check return value of tracing_init_dentry() 2013-05-07 19:51:54 -07:00
trace_stat.h
trace_syscalls.c tracing: Fix irqs-off tag display in syscall tracing 2013-08-04 16:25:45 +08:00
trace_workqueue.c