Home
last modified time | relevance | path

Searched refs:entry_handler (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/samples/kprobes/
A Dkretprobe_example.c39 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 Dentry.S581 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 Dtest_kprobes.c175 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 Dtest_fprobe.c60 .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 Dfprobe.rst26 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 Dkprobes.rst146 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 Dfprobe.h33 void (*entry_handler)(struct fprobe *fp, unsigned long entry_ip, struct pt_regs *regs); member
A Dkprobes.h150 kretprobe_handler_t entry_handler; member
/linux-6.3-rc2/kernel/trace/
A Dfprobe.c40 if (fp->entry_handler) in fprobe_handler()
41 fp->entry_handler(fp, ip, ftrace_get_regs(fregs)); in fprobe_handler()
A Dbpf_trace.c2853 link->fp.entry_handler = kprobe_multi_link_handler; in bpf_kprobe_multi_link_attach()
/linux-6.3-rc2/samples/fprobe/
A Dfprobe_example.c91 sample_probe.entry_handler = sample_entry_handler; in fprobe_init()
/linux-6.3-rc2/kernel/
A Dkprobes.c2089 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 39 milliseconds