/Linux-v6.1/arch/powerpc/kernel/ |
D | kprobes-ftrace.c | 45 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_ftrace_handler()
|
D | kprobes.c | 384 if (p->pre_handler && p->pre_handler(p, regs)) { in kprobe_handler() 561 .pre_handler = trampoline_probe_handler
|
/Linux-v6.1/arch/x86/kernel/kprobes/ |
D | ftrace.c | 42 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_ftrace_handler()
|
/Linux-v6.1/arch/riscv/kernel/probes/ |
D | ftrace.c | 33 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_ftrace_handler()
|
D | kprobes.c | 299 if (!p->pre_handler || !p->pre_handler(p, regs)) in kprobe_breakpoint_handler()
|
/Linux-v6.1/arch/csky/kernel/probes/ |
D | ftrace.c | 39 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_ftrace_handler()
|
D | kprobes.c | 341 if (!p->pre_handler || !p->pre_handler(p, regs)) in kprobe_breakpoint_handler()
|
/Linux-v6.1/arch/parisc/kernel/ |
D | kprobes.c | 125 if (!p->pre_handler || !p->pre_handler(p, regs)) { in parisc_kprobe_break_handler() 191 .pre_handler = trampoline_probe_handler
|
D | ftrace.c | 231 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_ftrace_handler()
|
/Linux-v6.1/arch/arm/probes/kprobes/ |
D | test-core.c | 310 static int __kprobes pre_handler(struct kprobe *p, struct pt_regs *regs) in pre_handler() function 328 .pre_handler = pre_handler, 522 .pre_handler = benchmark_pre_handler, in kprobe_benchmark() 1242 .kprobe.pre_handler = test_before_pre_handler, 1247 .kprobe.pre_handler = test_case_pre_handler, 1251 .kprobe.pre_handler = test_after_pre_handler, 1255 .kprobe.pre_handler = test_after_pre_handler,
|
D | core.c | 302 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_handler()
|
/Linux-v6.1/arch/arc/kernel/ |
D | kprobes.c | 228 if (!p->pre_handler || !p->pre_handler(p, regs)) { in arc_kprobe_handler() 395 .pre_handler = trampoline_probe_handler
|
/Linux-v6.1/arch/sparc/kernel/ |
D | kprobes.c | 178 if (p->pre_handler && p->pre_handler(p, regs)) { in kprobe_handler() 475 .pre_handler = trampoline_probe_handler
|
/Linux-v6.1/arch/sh/kernel/ |
D | kprobes.c | 273 if (p->pre_handler && p->pre_handler(p, regs)) { in kprobe_handler() 446 .pre_handler = trampoline_probe_handler
|
/Linux-v6.1/arch/mips/kernel/ |
D | kprobes.c | 353 if (p->pre_handler && p->pre_handler(p, regs)) { in kprobe_handler() 519 .pre_handler = trampoline_probe_handler
|
/Linux-v6.1/arch/s390/kernel/ |
D | ftrace.c | 340 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_ftrace_handler()
|
D | kprobes.c | 355 if (p->pre_handler && p->pre_handler(p, regs)) { in kprobe_handler()
|
/Linux-v6.1/include/linux/ |
D | mmiotrace.h | 24 kmmio_pre_handler_t pre_handler; member
|
/Linux-v6.1/arch/arm64/kernel/probes/ |
D | kprobes.c | 336 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_handler()
|
/Linux-v6.1/lib/ |
D | test_kprobes.c | 47 .pre_handler = kp_pre_handler, 108 .pre_handler = kp_pre_handler2,
|
/Linux-v6.1/samples/kprobes/ |
D | kprobe_example.c | 100 kp.pre_handler = handler_pre; in kprobe_init()
|
/Linux-v6.1/Documentation/trace/ |
D | kprobes.rst | 56 Kprobes -- e.g., the difference between a pre_handler and 70 notifier_call_chain mechanism. Kprobes executes the "pre_handler" 95 registers) in pre_handler, you must return !0 so that kprobes stops 279 The jump optimization changes the kprobe's pre_handler behavior. 280 Without optimization, the pre_handler can change the kernel's execution 366 calls kp->pre_handler. After the probed instruction is single-stepped, Kprobe 395 User's pre-handler (kp->pre_handler):: 399 int pre_handler(struct kprobe *p, struct pt_regs *regs); 412 p and regs are as described for the pre_handler. flags always seems 438 regs is as described for kprobe.pre_handler. ri points to the
|
/Linux-v6.1/arch/x86/mm/ |
D | kmmio.c | 297 if (ctx->probe && ctx->probe->pre_handler) in kmmio_handler() 298 ctx->probe->pre_handler(ctx->probe, regs, addr); in kmmio_handler()
|
/Linux-v6.1/arch/ia64/kernel/ |
D | kprobes.c | 765 if (p->pre_handler && p->pre_handler(p, regs)) { in pre_kprobes_handler() 894 .pre_handler = trampoline_probe_handler
|
/Linux-v6.1/kernel/ |
D | kprobes.c | 397 return p->pre_handler == aggr_pre_handler; in kprobe_aggrprobe() 427 if (kp->pre_handler && likely(!kprobe_disabled(kp))) { in opt_pre_handler() 429 kp->pre_handler(kp, regs); in opt_pre_handler() 1200 if (kp->pre_handler && likely(!kprobe_disabled(kp))) { in aggr_pre_handler() 1202 if (kp->pre_handler(kp, regs)) in aggr_pre_handler() 1284 ap->pre_handler = aggr_pre_handler; in init_aggr_kprobe() 2212 rp->kp.pre_handler = pre_handler_kretprobe; in register_kretprobe() 2767 if (p->pre_handler == pre_handler_kretprobe) in report_probe()
|