android_kernel_xiaomi_sm8350/kernel/trace
Steven Rostedt 4b3e3d2284 tracing: limit the number of loops the ring buffer self test can make
Impact: prevent deadlock if ring buffer gets corrupted

This patch adds a paranoid check to make sure the ring buffer consumer
does not go into an infinite loop. Since the ring buffer has been set
to read only, the consumer should not loop for more than the ring buffer
size. A check is added to make sure the consumer does not loop more than
the ring buffer size.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
2009-02-18 22:50:01 -05:00
..
ftrace.c tracing/function-graph-tracer: trace the idle tasks 2009-02-17 19:20:17 +01:00
Kconfig tracing: have function trace select kallsyms 2009-02-18 22:06:18 -05:00
Makefile
ring_buffer.c ring-buffer: reset timestamps when ring buffer is reset 2009-01-22 10:31:58 +01:00
trace_boot.c cpumask: convert kernel trace functions further 2009-01-01 10:12:23 +10:30
trace_branch.c
trace_functions_graph.c cpumask: convert kernel trace functions further 2009-01-01 10:12:23 +10:30
trace_functions.c
trace_hw_branches.c cpumask: convert kernel trace functions further 2009-01-01 10:12:23 +10:30
trace_irqsoff.c trace: set max latency variable to zero on default 2009-01-21 15:21:30 +01:00
trace_mmiotrace.c mmiotrace: count events lost due to not recording 2009-02-15 20:02:42 +01:00
trace_nop.c
trace_power.c cpumask: convert kernel trace functions further 2009-01-01 10:12:23 +10:30
trace_sched_switch.c
trace_sched_wakeup.c trace: set max latency variable to zero on default 2009-01-21 15:21:30 +01:00
trace_selftest_dynamic.c
trace_selftest.c tracing: limit the number of loops the ring buffer self test can make 2009-02-18 22:50:01 -05:00
trace_stack.c
trace_sysprof.c cpumask: convert kernel trace functions 2009-01-01 10:12:22 +10:30
trace.c trace: set max latency variable to zero on default 2009-01-21 15:21:30 +01:00
trace.h cpumask: convert kernel trace functions further 2009-01-01 10:12:23 +10:30