android_kernel_motorola_sm6375/kernel/trace
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Steven Rostedt 3b47bfc1fc ftrace: remove direct reference to mcount in trace code
The mcount record method of ftrace scans objdump for references to mcount.
Using mcount as the reference to test if the calls to mcount being replaced
are indeed calls to mcount, this use of mcount was also caught as a
location to change. Using a variable that points to the mcount address
moves this reference into the data section that is not scanned, and
we do not use a false location to try and modify.

The warn on code was what was used to detect this bug.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-10-14 10:36:22 +02:00
..
ftrace.c ftrace: remove direct reference to mcount in trace code 2008-10-14 10:36:22 +02:00
Kconfig ftrace: add stack tracer 2008-10-14 10:36:19 +02:00
Makefile ftrace: add stack tracer 2008-10-14 10:36:19 +02:00
trace.c ftrace: fix some mistakes in error messages 2008-10-14 10:35:40 +02:00
trace.h ftrace: printk formatting infrastructure 2008-10-14 10:35:19 +02:00
trace_functions.c
trace_irqsoff.c
trace_mmiotrace.c
trace_sched_switch.c
trace_sched_wakeup.c
trace_selftest.c ftrace: printk formatting infrastructure 2008-10-14 10:35:19 +02:00
trace_selftest_dynamic.c
trace_stack.c ftrace: add stack tracer 2008-10-14 10:36:19 +02:00
trace_sysprof.c