Robert Richter
465634adc1
ring_buffer: fix ring_buffer_event_length()
...
Function ring_buffer_event_length() provides an interface to detect
the length of data stored in an entry. However, the length contains
offsets depending on the internal usage. This makes it unusable. This
patch fixes this and now ring_buffer_event_length() returns the
alligned length that has been used in ring_buffer_lock_reserve().
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>
2009-01-07 22:47:40 +01:00
..
ftrace.c
Merge branch 'tip/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into tracing/urgent
2008-11-19 09:00:50 +01:00
Kconfig
tracing, alpha: undefined reference to `save_stack_trace'
2008-11-03 10:12:13 +01:00
Makefile
ftrace: rename FTRACE to FUNCTION_TRACER
2008-10-20 18:27:03 +02:00
ring_buffer.c
ring_buffer: fix ring_buffer_event_length()
2009-01-07 22:47:40 +01:00
trace.c
ftrace: remove unused function arg in trace_iterator_increment()
2008-12-10 14:20:12 +01:00
trace.h
ftrace: handle archs that do not support irqs_disabled_flags
2008-10-31 00:03:26 +01:00
trace_boot.c
tracing/fastboot: fix printk format typo in boot tracer
2008-10-14 10:39:23 +02:00
trace_functions.c
ftrace: rename the ftrace tracer to function
2008-10-20 18:27:04 +02:00
trace_irqsoff.c
ftrace: rename FTRACE to FUNCTION_TRACER
2008-10-20 18:27:03 +02:00
trace_mmiotrace.c
x86, mmiotrace: fix buffer overrun detection
2008-11-23 20:33:23 +01:00
trace_nop.c
ftrace: make work with new ring buffer
2008-10-14 10:38:57 +02:00
trace_sched_switch.c
ftrace: make some tracers reentrant
2008-10-14 10:39:20 +02:00
trace_sched_wakeup.c
ftrace: rename FTRACE to FUNCTION_TRACER
2008-10-20 18:27:03 +02:00
trace_selftest.c
ftrace: remove daemon
2008-10-23 16:00:22 +02:00
trace_selftest_dynamic.c
trace_stack.c
function tracing: fix wrong position computing of stack_trace
2008-11-21 08:49:52 +01:00
trace_sysprof.c
ftrace: make work with new ring buffer
2008-10-14 10:38:57 +02:00