Searched refs:old_code (Results 1 - 2 of 2) sorted by relevance

/linux-master/arch/sh/kernel/
H A Dftrace.c192 static int ftrace_modify_code(unsigned long ip, unsigned char *old_code, argument
210 if (memcmp(replaced, old_code, MCOUNT_INSN_SIZE) != 0)
/linux-master/arch/x86/kernel/
H A Dftrace.c79 static int ftrace_verify_code(unsigned long ip, const char *old_code) argument
97 if (memcmp(cur_code, old_code, MCOUNT_INSN_SIZE) != 0) {
98 ftrace_expected = old_code;
112 ftrace_modify_code_direct(unsigned long ip, const char *old_code, argument
115 int ret = ftrace_verify_code(ip, old_code);

Completed in 112 milliseconds