Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/kernel/trace
Steven Rostedt 20e5227e9f ftrace: allow NULL pointers in mcount_loc
Impact: make ftrace_convert_nops() more permissive

Due to the way different architecture linkers combine the data sections
of the mcount_loc (the section that lists all the locations that
call mcount), there may be zeros added in that section. This is usually
due to strange alignments that the linker performs, that pads in zeros.

This patch makes the conversion code to nops skip any pointer in
the mcount_loc section that is NULL.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-11-16 07:36:42 +01:00
..
ftrace.c ftrace: allow NULL pointers in mcount_loc 2008-11-16 07:36:42 +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.c ftrace: replace raw_local_irq_save with local_irq_save 2008-11-16 07:35:37 +01:00
trace.h ftrace: CPU buffer start annotation clean ups 2008-11-13 09:49:24 +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.c ftrace: remove trace array ctrl 2008-11-08 09:51:39 +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_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.c ftrace: replace raw_local_irq_save with local_irq_save 2008-11-16 07:35:37 +01:00
trace_selftest_dynamic.c ftrace: fix dynamic ftrace selftest 2008-05-23 21:13:23 +02: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