Searched refs:entry_handler (Results 1 – 12 of 12) sorted by relevance
/linux-6.3-rc2/samples/kprobes/ |
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.3-rc2/arch/arm64/kernel/ |
A D | entry.S | 581 entry_handler 1, t, 64, sync 582 entry_handler 1, t, 64, irq 583 entry_handler 1, t, 64, fiq 586 entry_handler 1, h, 64, sync 587 entry_handler 1, h, 64, irq 588 entry_handler 1, h, 64, fiq 591 entry_handler 0, t, 64, sync 592 entry_handler 0, t, 64, irq 593 entry_handler 0, t, 64, fiq 597 entry_handler 0, t, 32, irq [all …]
|
/linux-6.3-rc2/lib/ |
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,
|
A D | test_fprobe.c | 60 .entry_handler = fp_entry_handler, in test_fprobe_entry() 87 .entry_handler = fp_entry_handler, in test_fprobe() 113 .entry_handler = fp_entry_handler, in test_fprobe_syms()
|
/linux-6.3-rc2/Documentation/trace/ |
A D | fprobe.rst | 26 Typically, `fprobe` data structure is initialized with the `entry_handler` 32 .entry_handler = my_entry_callback, 112 in the entry_handler. If you need traced instruction pointer, you need 154 which is traced by other ftrace users is called from the entry_handler.
|
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.3-rc2/include/linux/ |
A D | fprobe.h | 33 void (*entry_handler)(struct fprobe *fp, unsigned long entry_ip, struct pt_regs *regs); member
|
A D | kprobes.h | 150 kretprobe_handler_t entry_handler; member
|
/linux-6.3-rc2/kernel/trace/ |
A D | fprobe.c | 40 if (fp->entry_handler) in fprobe_handler() 41 fp->entry_handler(fp, ip, ftrace_get_regs(fregs)); in fprobe_handler()
|
A D | bpf_trace.c | 2853 link->fp.entry_handler = kprobe_multi_link_handler; in bpf_kprobe_multi_link_attach()
|
/linux-6.3-rc2/samples/fprobe/ |
A D | fprobe_example.c | 91 sample_probe.entry_handler = sample_entry_handler; in fprobe_init()
|
/linux-6.3-rc2/kernel/ |
A D | kprobes.c | 2089 if (rp->entry_handler && rp->entry_handler(ri, regs)) { in NOKPROBE_SYMBOL() 2120 if (rp->entry_handler && rp->entry_handler(ri, regs)) in pre_handler_kretprobe()
|
Completed in 24 milliseconds