| /linux-6.15/samples/kprobes/ |
| H A D | kretprobe_example.c | 39 static int entry_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in entry_handler() function 50 NOKPROBE_SYMBOL(entry_handler); 74 .entry_handler = entry_handler,
|
| /linux-6.15/arch/arm64/kernel/ |
| H A D | entry.S | 590 entry_handler 1, t, 64, sync 591 entry_handler 1, t, 64, irq 592 entry_handler 1, t, 64, fiq 595 entry_handler 1, h, 64, sync 596 entry_handler 1, h, 64, irq 597 entry_handler 1, h, 64, fiq 600 entry_handler 0, t, 64, sync 601 entry_handler 0, t, 64, irq 602 entry_handler 0, t, 64, fiq 606 entry_handler 0, t, 32, irq [all …]
|
| /linux-6.15/lib/tests/ |
| H A D | test_fprobe.c | 79 .entry_handler = fp_entry_handler, in test_fprobe_entry() 106 .entry_handler = fp_entry_handler, in test_fprobe() 132 .entry_handler = fp_entry_handler, in test_fprobe_syms() 158 .entry_handler = fp_entry_handler, in test_fprobe_data() 174 .entry_handler = fp_entry_handler, in test_fprobe_skip()
|
| H A D | test_kprobes.c | 175 static int entry_handler(struct kretprobe_instance *ri, struct pt_regs *regs) in entry_handler() function 195 .entry_handler = entry_handler, 220 .entry_handler = entry_handler,
|
| /linux-6.15/Documentation/trace/ |
| H A D | fprobe.rst | 27 Typically, `fprobe` data structure is initialized with the `entry_handler` 33 .entry_handler = my_entry_callback, 127 allocated and passed to both `entry_handler` and `exit_handler`. 178 which is traced by other ftrace users is called from the entry_handler.
|
| H A D | kprobes.rst | 146 on function entry. This handler is specified by setting the entry_handler 148 function entry is hit, the user-defined entry_handler, if any, is invoked. 149 If the entry_handler returns 0 (success) then a corresponding return handler 150 is guaranteed to be called upon function return. If the entry_handler 165 the user entry_handler invocation is also skipped.
|
| /linux-6.15/include/linux/ |
| H A D | fprobe.h | 66 fprobe_entry_cb entry_handler; member
|
| H A D | kprobes.h | 149 kretprobe_handler_t entry_handler; member
|
| /linux-6.15/samples/fprobe/ |
| H A D | fprobe_example.c | 96 sample_probe.entry_handler = sample_entry_handler; in fprobe_init()
|
| /linux-6.15/kernel/trace/ |
| H A D | fprobe.c | 221 if (!fp->entry_handler) in __fprobe_handler() 224 return fp->entry_handler(fp, ip, parent_ip, fregs, data); in __fprobe_handler()
|
| H A D | trace_fprobe.c | 446 tf->fp.entry_handler = fentry_dispatcher; in alloc_trace_fprobe() 1240 tf->fp.entry_handler = trace_fprobe_entry_handler; in DEFINE_FREE()
|
| H A D | trace_kprobe.c | 1037 tk->rp.entry_handler = trace_kprobe_entry_handler; in trace_kprobe_create_internal()
|
| H A D | bpf_trace.c | 3072 link->fp.entry_handler = kprobe_multi_link_handler; in bpf_kprobe_multi_link_attach()
|
| /linux-6.15/kernel/ |
| H A D | kprobes.c | 2078 if (rp->entry_handler && rp->entry_handler(ri, regs)) { in NOKPROBE_SYMBOL() 2109 if (rp->entry_handler && rp->entry_handler(ri, regs)) in pre_handler_kretprobe()
|