Searched refs:new_addr (Results 1 – 2 of 2) sorted by relevance
/kernel/bpf/ |
D | trampoline.c | 138 static int modify_fentry(struct bpf_trampoline *tr, void *old_addr, void *new_addr) in modify_fentry() argument 144 ret = modify_ftrace_direct((long)ip, (long)old_addr, (long)new_addr); in modify_fentry() 146 ret = bpf_arch_text_poke(ip, BPF_MOD_CALL, old_addr, new_addr); in modify_fentry() 151 static int register_fentry(struct bpf_trampoline *tr, void *new_addr) in register_fentry() argument 165 ret = register_ftrace_direct((long)ip, (long)new_addr); in register_fentry() 167 ret = bpf_arch_text_poke(ip, BPF_MOD_CALL, NULL, new_addr); in register_fentry()
|
/kernel/trace/ |
D | ftrace.c | 5283 unsigned long new_addr) in ftrace_modify_direct_caller() argument 5316 entry->direct = new_addr; in ftrace_modify_direct_caller() 5346 unsigned long old_addr, unsigned long new_addr) in modify_ftrace_direct() argument 5369 new_direct = ftrace_alloc_direct_func(new_addr); in modify_ftrace_direct() 5375 direct->addr = new_addr; in modify_ftrace_direct() 5385 ret = ftrace_modify_direct_caller(entry, rec, old_addr, new_addr); in modify_ftrace_direct() 5387 entry->direct = new_addr; in modify_ftrace_direct()
|