Skip to content
Commit 000ab691 authored by Steven Rostedt's avatar Steven Rostedt
Browse files

ftrace: allow archs to preform pre and post process for code modification



This patch creates the weak functions: ftrace_arch_code_modify_prepare
and ftrace_arch_code_modify_post_process that are called before and
after the stop machine is called to modify the kernel text.

If the arch needs to do pre or post processing, it only needs to define
these functions.

[ Update: Ingo Molnar suggested using the name ftrace_arch_code_modify_*
          over using ftrace_arch_modify_* ]

Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>
parent 07a66d7c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment