Searched refs:entry_handler (Results 1 – 13 of 13) sorted by relevance
/linux-6.6.21/samples/kprobes/ |
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.6.21/lib/ |
D | test_fprobe.c | 102 .entry_handler = fp_entry_handler, in test_fprobe_entry() 129 .entry_handler = fp_entry_handler, in test_fprobe() 155 .entry_handler = fp_entry_handler, in test_fprobe_syms() 181 .entry_handler = fp_entry_handler, in test_fprobe_data() 199 .entry_handler = nest_entry_handler, in test_fprobe_nest() 216 .entry_handler = fp_entry_handler, in test_fprobe_skip()
|
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.6.21/arch/arm64/kernel/ |
D | entry.S | 573 .macro entry_handler el:req, ht:req, regsize:req, label:req macro 589 entry_handler 1, t, 64, sync 590 entry_handler 1, t, 64, irq 591 entry_handler 1, t, 64, fiq 592 entry_handler 1, t, 64, error 594 entry_handler 1, h, 64, sync 595 entry_handler 1, h, 64, irq 596 entry_handler 1, h, 64, fiq 597 entry_handler 1, h, 64, error 599 entry_handler 0, t, 64, sync [all …]
|
/linux-6.6.21/Documentation/trace/ |
D | fprobe.rst | 26 Typically, `fprobe` data structure is initialized with the `entry_handler` 32 .entry_handler = my_entry_callback, 118 in the entry_handler. If you need traced instruction pointer, you need 126 allocated and passed to both `entry_handler` and `exit_handler`. 166 which is traced by other ftrace users is called from the entry_handler.
|
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.6.21/include/linux/ |
D | fprobe.h | 37 int (*entry_handler)(struct fprobe *fp, unsigned long entry_ip, member
|
D | kprobes.h | 150 kretprobe_handler_t entry_handler; member
|
/linux-6.6.21/kernel/trace/ |
D | fprobe.c | 48 if (fp->entry_handler) in __fprobe_handler() 49 ret = fp->entry_handler(fp, ip, parent_ip, ftrace_get_regs(fregs), entry_data); in __fprobe_handler()
|
D | trace_fprobe.c | 387 tf->fp.entry_handler = fentry_dispatcher; in alloc_trace_fprobe()
|
D | bpf_trace.c | 2970 link->fp.entry_handler = kprobe_multi_link_handler; in bpf_kprobe_multi_link_attach()
|
/linux-6.6.21/samples/fprobe/ |
D | fprobe_example.c | 96 sample_probe.entry_handler = sample_entry_handler; in fprobe_init()
|
/linux-6.6.21/kernel/ |
D | kprobes.c | 2101 if (rp->entry_handler && rp->entry_handler(ri, regs)) { in NOKPROBE_SYMBOL() 2132 if (rp->entry_handler && rp->entry_handler(ri, regs)) in pre_handler_kretprobe()
|