Searched refs:ftrace_call_replace (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/arch/arm/kernel/ |
D | ftrace.c | 92 static unsigned long ftrace_call_replace(unsigned long pc, unsigned long addr, in ftrace_call_replace() function 129 new = ftrace_call_replace(pc, (unsigned long)func, true); in ftrace_update_ftrace_func() 136 new = ftrace_call_replace(pc, (unsigned long)func, true); in ftrace_update_ftrace_func() 158 new = ftrace_call_replace(ip, aaddr, !mod); in ftrace_make_call() 162 new = ftrace_call_replace(ip, aaddr, true); in ftrace_make_call() 177 old = ftrace_call_replace(ip, adjust_address(rec, old_addr), true); in ftrace_modify_call() 179 new = ftrace_call_replace(ip, adjust_address(rec, addr), true); in ftrace_modify_call() 203 old = ftrace_call_replace(ip, aaddr, in ftrace_make_nop() 208 old = ftrace_call_replace(ip, aaddr, true); in ftrace_make_nop()
|
/linux-6.12.1/arch/sparc/kernel/ |
D | ftrace.c | 15 static u32 ftrace_call_replace(unsigned long ip, unsigned long addr) in ftrace_call_replace() function 61 old = ftrace_call_replace(ip, addr); in ftrace_make_nop() 72 new = ftrace_call_replace(ip, addr); in ftrace_make_call() 82 new = ftrace_call_replace(ip, (unsigned long)func); in ftrace_update_ftrace_func() 98 new = ftrace_call_replace(ip, (unsigned long) &ftrace_graph_caller); in ftrace_enable_ftrace_graph_caller() 108 new = ftrace_call_replace(ip, (unsigned long) &ftrace_stub); in ftrace_disable_ftrace_graph_caller()
|
/linux-6.12.1/arch/x86/kernel/ |
D | ftrace.c | 71 static const char *ftrace_call_replace(unsigned long ip, unsigned long addr) in ftrace_call_replace() function 133 old = ftrace_call_replace(ip, addr); in ftrace_make_nop() 161 new = ftrace_call_replace(ip, addr); in ftrace_make_call() 188 new = ftrace_call_replace(ip, (unsigned long)func); in ftrace_update_ftrace_func() 192 new = ftrace_call_replace(ip, (unsigned long)func); in ftrace_update_ftrace_func() 219 old = ftrace_call_replace(rec->ip, ftrace_get_addr_curr(rec)); in ftrace_replace_code() 242 new = ftrace_call_replace(rec->ip, ftrace_get_addr_new(rec)); in ftrace_replace_code() 494 new = ftrace_call_replace(ip, (unsigned long)func); in arch_ftrace_update_trampoline()
|
/linux-6.12.1/arch/sh/kernel/ |
D | ftrace.c | 54 static unsigned char *ftrace_call_replace(unsigned long ip, unsigned long addr) in ftrace_call_replace() function 228 new = ftrace_call_replace(ip, (unsigned long)func); in ftrace_update_ftrace_func() 239 old = ftrace_call_replace(ip, addr); in ftrace_make_nop() 251 new = ftrace_call_replace(ip, addr); in ftrace_make_call()
|
/linux-6.12.1/arch/powerpc/kernel/trace/ |
D | ftrace_64_pg.c | 46 ftrace_call_replace(unsigned long ip, unsigned long addr, int link) in ftrace_call_replace() function 360 old = ftrace_call_replace(ip, addr, 1); in ftrace_make_nop() 527 new = ftrace_call_replace(ip, addr, 1); in ftrace_make_call() 657 old = ftrace_call_replace(ip, old_addr, 1); in ftrace_modify_call() 658 new = ftrace_call_replace(ip, addr, 1); in ftrace_modify_call() 690 new = ftrace_call_replace(ip, (unsigned long)func, 1); in ftrace_update_ftrace_func() 697 new = ftrace_call_replace(ip, (unsigned long)func, 1); in ftrace_update_ftrace_func() 782 old = ftrace_call_replace(ip, enable ? stub : addr, 0); in ftrace_modify_ftrace_graph_caller() 783 new = ftrace_call_replace(ip, enable ? addr : stub, 0); in ftrace_modify_ftrace_graph_caller()
|