aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace.h
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2008-10-23 09:32:58 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-23 09:58:20 -0400
commit34698bcbdf7b0629d6c873b5da7c63073fb45361 (patch)
tree25086d1711e4a99cc3c36c9b96567d2052d06b0d /include/linux/ftrace.h
parentdce9d18adde74b8e36b9e4a8a49ddf066bad0b3b (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 'include/linux/ftrace.h')
0 files changed, 0 insertions, 0 deletions