Searched refs:fentry_ip (Results 1 – 5 of 5) sorted by relevance
146 /* Convert fentry_ip to the symbol address without kallsyms */147 unsigned long arch_ftrace_get_symaddr(unsigned long fentry_ip) in arch_ftrace_get_symaddr() argument 166 * The fentry_ip is the address of `BL <caller>` which is at `func + 4` in arch_ftrace_get_symaddr() 170 return fentry_ip - AARCH64_INSN_SIZE; in arch_ftrace_get_symaddr() 185 * The fentry_ip is the address of `BL <caller>` which is at either in arch_ftrace_get_symaddr() 191 return fentry_ip - AARCH64_INSN_SIZE; in arch_ftrace_get_symaddr() 196 if ((fentry_ip & ~PAGE_MASK) < AARCH64_INSN_SIZE * 2) { in arch_ftrace_get_symaddr() 197 if (get_kernel_nofault(insn, (u32 *)(fentry_ip - AARCH64_INSN_SIZE * 2))) in arch_ftrace_get_symaddr() 200 insn = *(u32 *)(fentry_ip - AARCH64_INSN_SIZE * 2); in arch_ftrace_get_symaddr() 204 return fentry_ip in arch_ftrace_get_symaddr() [all...]
55 unsigned long arch_ftrace_get_symaddr(unsigned long fentry_ip);56 #define ftrace_get_symaddr(fentry_ip) arch_ftrace_get_symaddr(fentry_ip) argument
37 unsigned long arch_ftrace_get_symaddr(unsigned long fentry_ip) in arch_ftrace_get_symaddr() argument 39 return fentry_ip - MCOUNT_AUIPC_SIZE; in arch_ftrace_get_symaddr()
1046 static inline unsigned long get_entry_ip(unsigned long fentry_ip) in get_entry_ip() argument 1049 if (is_endbr((void *)(fentry_ip - ENDBR_INSN_SIZE))) in get_entry_ip() 1050 fentry_ip -= ENDBR_INSN_SIZE; in get_entry_ip() 1052 return fentry_ip; in get_entry_ip() 2488 static unsigned long ftrace_get_entry_ip(unsigned long fentry_ip) in ftrace_get_entry_ip() argument 2490 unsigned long ip = ftrace_get_symaddr(fentry_ip); in ftrace_get_entry_ip() 2492 return ip ? : fentry_ip; in ftrace_get_entry_ip() 2752 kprobe_multi_link_handler(struct fprobe *fp, unsigned long fentry_ip, in kprobe_multi_link_handler() argument 2760 err = kprobe_multi_link_prog_run(link, ftrace_get_entry_ip(fentry_ip), in kprobe_multi_link_handler() 2766 kprobe_multi_link_exit_handler(struct fprobe *fp, unsigned long fentry_ip, in kprobe_multi_link_exit_handler() argument [all...]
625 /* Arches can override ftrace_get_symaddr() to convert fentry_ip to symaddr. */628 * ftrace_get_symaddr - return the symbol address from fentry_ip629 * @fentry_ip: the address of ftrace location631 * Get the symbol address from @fentry_ip (fast path). If there is no fast635 #define ftrace_get_symaddr(fentry_ip) (0) argument