linux_dsm_epyc7002/kernel/trace
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_functions.c ftrace: use current CPU for function startup 2008-07-11 15:49:21 +02:00
trace_irqsoff.c ftrace: fix modular build 2008-07-26 15:08:22 +02:00
trace_mmiotrace.c ftrace: new continue entry - separate out from trace_entry 2008-10-14 10:35:15 +02:00
trace_sched_switch.c ftrace: port to tracepoints 2008-10-14 10:32:26 +02:00
trace_sched_wakeup.c ftrace: port to tracepoints 2008-10-14 10:32:26 +02:00
trace_selftest_dynamic.c ftrace: fix dynamic ftrace selftest 2008-05-23 21:13:23 +02:00
trace_selftest.c ftrace: printk formatting infrastructure 2008-10-14 10:35:19 +02:00
trace_stack.c ftrace: add stack tracer 2008-10-14 10:36:19 +02:00
trace_sysprof.c hrtimer: prevent migration of per CPU hrtimers 2008-09-29 17:09:14 +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