Searched refs:ftrace_validate_inst (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/kernel/trace/ |
H A D | ftrace.c | 66 static inline int ftrace_validate_inst(unsigned long ip, ppc_inst_t inst) in ftrace_validate_inst() function 83 int ret = ftrace_validate_inst(ip, old); in ftrace_modify_code() 237 ret = ftrace_validate_inst(ip - 4, ppc_inst(PPC_RAW_NOP())); in ftrace_init_nop() 239 ret = ftrace_validate_inst(ip, ppc_inst(PPC_RAW_NOP())); in ftrace_init_nop() 242 ret = ftrace_validate_inst(ip - 8, ppc_inst(PPC_RAW_MFLR(_R0))); in ftrace_init_nop() 244 ret = ftrace_validate_inst(ip - 4, ppc_inst(PPC_RAW_STW(_R0, _R1, 4))); in ftrace_init_nop() 249 ret = ftrace_validate_inst(ip - 8, ppc_inst(PPC_RAW_MFLR(_R0))); in ftrace_init_nop() 250 ret |= ftrace_validate_inst(ip - 4, ppc_inst(PPC_RAW_STD(_R0, _R1, 16))); in ftrace_init_nop()
|