diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-10-23 09:32:58 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-23 15:58:20 +0200 |
commit | 34698bcbdf7b0629d6c873b5da7c63073fb45361 (patch) | |
tree | 25086d1711e4a99cc3c36c9b96567d2052d06b0d /arch/x86/kernel/vmlinux.lds.S | |
parent | dce9d18adde74b8e36b9e4a8a49ddf066bad0b3b (diff) |
ftrace: dynamic ftrace process only text section
The text section stays in memory without ever leaving. With the exception
of modules, but modules know how to handle that case. With the dynamic
ftrace tracer, we need to make sure that it does not try to modify code
that no longer exists. The only safe section is .text.
This patch changes the recordmcount script to only record the mcount calls
in the .text sections.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/vmlinux.lds.S')
0 files changed, 0 insertions, 0 deletions