android_kernel_xiaomi_sm7250/kernel/trace
Steven Rostedt 918c115410 ftrace: do not process freed records
Impact: keep from converting freed records

When the tracer is started or stopped, it converts all code pointed
to by the saved records into callers to ftrace or nops. When modules
are unloaded, their records are freed, but they still exist within
the record pages.

This patch changes the code to skip over freed records.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-11-16 07:30:17 +01:00
..
ftrace.c ftrace: do not process freed records 2008-11-16 07:30:17 +01:00
Kconfig trace: rename unlikely profiler to branch profiler 2008-11-12 22:27:58 +01:00
Makefile ftrace: rename trace_unlikely.c file 2008-11-12 22:28:40 +01:00
ring_buffer.c Merge branches 'tracing/fastboot', 'tracing/ftrace' and 'tracing/urgent' into tracing/core 2008-11-16 07:28:46 +01:00
trace_boot.c tracing/fastboot: Use the ring-buffer timestamp for initcall entries 2008-11-12 10:17:19 +01:00
trace_branch.c ftrace: rename trace_unlikely.c file 2008-11-12 22:28:40 +01:00
trace_functions_return.c tracing: add a tracer to catch execution time of kernel functions 2008-11-11 10:29:12 +01:00
trace_functions.c ftrace: remove trace array ctrl 2008-11-08 09:51:39 +01:00
trace_irqsoff.c ftrace: remove trace array ctrl 2008-11-08 09:51:39 +01:00
trace_mmiotrace.c ftrace: remove trace array ctrl 2008-11-08 09:51:39 +01:00
trace_nop.c ftrace: remove trace array ctrl 2008-11-08 09:51:39 +01:00
trace_sched_switch.c ftrace: remove trace array ctrl 2008-11-08 09:51:39 +01:00
trace_sched_wakeup.c ftrace: remove trace array ctrl 2008-11-08 09:51:39 +01:00
trace_selftest_dynamic.c ftrace: fix dynamic ftrace selftest 2008-05-23 21:13:23 +02:00
trace_selftest.c ftrace: add tracer called branch 2008-11-12 22:28:25 +01:00
trace_stack.c ftrace: insert in the ftrace_preempt_disable()/enable() functions 2008-11-04 10:09:49 +01:00
trace_sysprof.c ftrace: remove trace array ctrl 2008-11-08 09:51:39 +01:00
trace.c ftrace: CPU buffer start annotation clean ups 2008-11-13 09:49:24 +01:00
trace.h ftrace: CPU buffer start annotation clean ups 2008-11-13 09:49:24 +01:00