Home
last modified time | relevance | path

Searched refs:pre_handler (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.6.21/arch/powerpc/kernel/
Dkprobes-ftrace.c45 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_ftrace_handler()
Dkprobes.c381 if (p->pre_handler && p->pre_handler(p, regs)) { in kprobe_handler()
558 .pre_handler = trampoline_probe_handler
/linux-6.6.21/arch/x86/kernel/kprobes/
Dftrace.c42 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_ftrace_handler()
/linux-6.6.21/arch/riscv/kernel/probes/
Dftrace.c33 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_ftrace_handler()
Dkprobes.c320 if (!p->pre_handler || !p->pre_handler(p, regs)) in kprobe_breakpoint_handler()
/linux-6.6.21/arch/csky/kernel/probes/
Dftrace.c39 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_ftrace_handler()
Dkprobes.c341 if (!p->pre_handler || !p->pre_handler(p, regs)) in kprobe_breakpoint_handler()
/linux-6.6.21/arch/parisc/kernel/
Dkprobes.c125 if (!p->pre_handler || !p->pre_handler(p, regs)) { in parisc_kprobe_break_handler()
191 .pre_handler = trampoline_probe_handler
Dftrace.c231 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_ftrace_handler()
/linux-6.6.21/arch/arm/probes/kprobes/
Dtest-core.c310 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,
Dcore.c302 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_handler()
/linux-6.6.21/arch/arc/kernel/
Dkprobes.c228 if (!p->pre_handler || !p->pre_handler(p, regs)) { in arc_kprobe_handler()
395 .pre_handler = trampoline_probe_handler
/linux-6.6.21/lib/
Dtest_kprobes.c57 .pre_handler = kp_pre_handler,
118 .pre_handler = kp_pre_handler2,
151 .pre_handler = kp_pre_handler,
/linux-6.6.21/arch/sparc/kernel/
Dkprobes.c178 if (p->pre_handler && p->pre_handler(p, regs)) { in kprobe_handler()
475 .pre_handler = trampoline_probe_handler
/linux-6.6.21/arch/mips/kernel/
Dkprobes.c353 if (p->pre_handler && p->pre_handler(p, regs)) { in kprobe_handler()
519 .pre_handler = trampoline_probe_handler
/linux-6.6.21/arch/sh/kernel/
Dkprobes.c273 if (p->pre_handler && p->pre_handler(p, regs)) { in kprobe_handler()
446 .pre_handler = trampoline_probe_handler
/linux-6.6.21/arch/s390/kernel/
Dftrace.c320 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_ftrace_handler()
Dkprobes.c345 if (p->pre_handler && p->pre_handler(p, regs)) { in kprobe_handler()
/linux-6.6.21/arch/loongarch/kernel/
Dftrace_dyn.c312 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_ftrace_handler()
Dkprobes.c241 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_breakpoint_handler()
/linux-6.6.21/include/linux/
Dmmiotrace.h24 kmmio_pre_handler_t pre_handler; member
/linux-6.6.21/arch/arm64/kernel/probes/
Dkprobes.c336 if (!p->pre_handler || !p->pre_handler(p, regs)) in kprobe_breakpoint_handler()
/linux-6.6.21/samples/kprobes/
Dkprobe_example.c108 kp.pre_handler = handler_pre; in kprobe_init()
/linux-6.6.21/Documentation/trace/
Dkprobes.rst56 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
278 The jump optimization changes the kprobe's pre_handler behavior.
279 Without optimization, the pre_handler can change the kernel's execution
365 calls kp->pre_handler. After the probed instruction is single-stepped, Kprobe
394 User's pre-handler (kp->pre_handler)::
398 int pre_handler(struct kprobe *p, struct pt_regs *regs);
411 p and regs are as described for the pre_handler. flags always seems
437 regs is as described for kprobe.pre_handler. ri points to the
/linux-6.6.21/arch/x86/mm/
Dkmmio.c302 if (ctx->probe && ctx->probe->pre_handler) in kmmio_handler()
303 ctx->probe->pre_handler(ctx->probe, regs, addr); in kmmio_handler()

12