ftrace: nmi safe code modification