summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-08-16 15:53:39 +0200
committerSteven Rostedt <rostedt@goodmis.org>2011-12-21 13:16:58 +0100
commitc88fd8634ea68e74c7d19fd2621b4078fd22864c (patch)
tree9d8bbc57d20eec9869a9655ff79cc1c4d6359b88 /Documentation
parentftrace: Do not function trace inlined functions (diff)
downloadlinux-c88fd8634ea68e74c7d19fd2621b4078fd22864c.tar.xz
linux-c88fd8634ea68e74c7d19fd2621b4078fd22864c.zip
ftrace: Allow archs to modify code without stop machine
The stop machine method to modify all functions in the kernel (some 20,000 of them) is the safest way to do so across all archs. But some archs may not need this big hammer approach to modify code on SMP machines, and can simply just update the code it needs. Adding a weak function arch_ftrace_update_code() that now does the stop machine, will also let any arch override this method. If the arch needs to check the system and then decide if it can avoid stop machine, it can still call ftrace_run_stop_machine() to use the old method. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions