Home
last modified time | relevance | path

Searched refs:entry_ip (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/kernel/trace/
Dtrace_fprobe.c177 __fentry_trace_func(struct trace_fprobe *tf, unsigned long entry_ip, in NOKPROBE_SYMBOL()
201 entry->ip = entry_ip; in NOKPROBE_SYMBOL()
208 fentry_trace_func(struct trace_fprobe *tf, unsigned long entry_ip, in fentry_trace_func() argument
214 __fentry_trace_func(tf, entry_ip, regs, link->file); in fentry_trace_func()
219 static int trace_fprobe_entry_handler(struct fprobe *fp, unsigned long entry_ip, in trace_fprobe_entry_handler() argument
233 __fexit_trace_func(struct trace_fprobe *tf, unsigned long entry_ip, in NOKPROBE_SYMBOL()
257 entry->func = entry_ip; in NOKPROBE_SYMBOL()
265 fexit_trace_func(struct trace_fprobe *tf, unsigned long entry_ip, in fexit_trace_func() argument
271 __fexit_trace_func(tf, entry_ip, ret_ip, regs, entry_data, link->file); in fexit_trace_func()
277 static int fentry_perf_func(struct trace_fprobe *tf, unsigned long entry_ip, in fentry_perf_func() argument
[all …]
Dfprobe.c19 unsigned long entry_ip; member
42 fpr->entry_ip = ip; in __fprobe_handler()
138 bit = ftrace_test_recursion_trylock(fpr->entry_ip, fpr->entry_parent_ip); in fprobe_exit_handler()
144 fp->exit_handler(fp, fpr->entry_ip, ret_ip, regs, in fprobe_exit_handler()
Dbpf_trace.c2533 unsigned long entry_ip; member
2705 u64 *cookie, entry_ip; in bpf_kprobe_multi_cookie() local
2715 entry_ip = run_ctx->entry_ip; in bpf_kprobe_multi_cookie()
2716 addr = bsearch(&entry_ip, link->addrs, link->cnt, sizeof(entry_ip), in bpf_kprobe_multi_cookie()
2730 return run_ctx->entry_ip; in bpf_kprobe_multi_entry_ip()
2735 unsigned long entry_ip, struct pt_regs *regs, in kprobe_multi_link_prog_run() argument
2744 .entry_ip = entry_ip, in kprobe_multi_link_prog_run()
3088 unsigned long entry_ip; member
3197 unsigned long entry_ip, in uprobe_prog_run() argument
3202 .entry_ip = entry_ip, in uprobe_prog_run()
[all …]
/linux-6.12.1/include/linux/
Dfprobe.h12 typedef int (*fprobe_entry_cb)(struct fprobe *fp, unsigned long entry_ip,
16 typedef void (*fprobe_exit_cb)(struct fprobe *fp, unsigned long entry_ip,
/linux-6.12.1/Documentation/trace/
Dfprobe.rst94 …int entry_callback(struct fprobe *fp, unsigned long entry_ip, unsigned long ret_ip, struct pt_regs…
96 …void exit_callback(struct fprobe *fp, unsigned long entry_ip, unsigned long ret_ip, struct pt_regs…
98 Note that the @entry_ip is saved at function entry and passed to exit handler.
106 @entry_ip
117 the instruction pointer of @regs may be different from the @entry_ip
119 to use @entry_ip. On the other hand, in the exit_handler, the instruction