Searched refs:old_code (Results 1 - 2 of 2) sorted by relevance
/linux-master/arch/sh/kernel/ |
H A D | ftrace.c | 192 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 D | ftrace.c | 80 static int ftrace_verify_code(unsigned long ip, const char *old_code) argument 98 if (memcmp(cur_code, old_code, MCOUNT_INSN_SIZE) != 0) { 99 ftrace_expected = old_code; 113 ftrace_modify_code_direct(unsigned long ip, const char *old_code, argument 116 int ret = ftrace_verify_code(ip, old_code);
|
Completed in 100 milliseconds