Home
last modified time | relevance | path

Searched refs:post_handler (Results 1 – 25 of 29) sorted by relevance

12

/linux-5.19.10/arch/powerpc/kernel/
Dkprobes-ftrace.c51 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler()
53 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
Dkprobes.c389 if (p->post_handler) in kprobe_handler()
390 p->post_handler(p, regs, 0); in kprobe_handler()
473 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in kprobe_post_handler()
475 cur->post_handler(cur, regs, 0); in kprobe_post_handler()
/linux-5.19.10/arch/x86/kernel/kprobes/
Dftrace.c48 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler()
50 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
/linux-5.19.10/arch/riscv/kernel/probes/
Dftrace.c40 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler()
42 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
Dkprobes.c220 if (cur->post_handler) { in post_kprobe_handler()
224 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
/linux-5.19.10/arch/csky/kernel/probes/
Dftrace.c46 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler()
48 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
Dkprobes.c264 if (cur->post_handler) { in post_kprobe_handler()
268 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
/linux-5.19.10/arch/mips/kernel/
Dkprobes.c363 if (p->post_handler) in kprobe_handler()
364 p->post_handler(p, regs, 0); in kprobe_handler()
387 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler()
389 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
/linux-5.19.10/kernel/
Dkprobes.c688 if (p->post_handler) in optimize_kprobe()
1106 bool ipmodify = (p->post_handler != NULL); in arm_kprobe_ftrace()
1136 bool ipmodify = (p->post_handler != NULL); in disarm_kprobe_ftrace()
1217 if (kp->post_handler && likely(!kprobe_disabled(kp))) { in aggr_post_handler()
1219 kp->post_handler(kp, regs, flags); in aggr_post_handler()
1263 if (p->post_handler) in add_new_kprobe()
1267 if (p->post_handler && !ap->post_handler) in add_new_kprobe()
1268 ap->post_handler = aggr_post_handler; in add_new_kprobe()
1286 if (p->post_handler && !kprobe_gone(p)) in init_aggr_kprobe()
1287 ap->post_handler = aggr_post_handler; in init_aggr_kprobe()
[all …]
/linux-5.19.10/arch/parisc/kernel/
Dftrace.c235 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler()
237 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
Dkprobes.c158 if (p->post_handler) in parisc_kprobe_ss_handler()
159 p->post_handler(p, regs, 0); in parisc_kprobe_ss_handler()
/linux-5.19.10/arch/s390/kernel/
Dftrace.c344 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler()
346 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
Dkprobes.c436 if (kcb->kprobe_status != KPROBE_REENTER && p->post_handler) { in post_kprobe_handler()
438 p->post_handler(p, regs, 0); in post_kprobe_handler()
/linux-5.19.10/include/linux/
Dmmiotrace.h26 kmmio_post_handler_t post_handler; member
/linux-5.19.10/arch/arc/kernel/
Dkprobes.c265 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in arc_post_kprobe_handler()
267 cur->post_handler(cur, regs, 0); in arc_post_kprobe_handler()
/linux-5.19.10/lib/
Dtest_kprobes.c48 .post_handler = kp_post_handler
109 .post_handler = kp_post_handler2
/linux-5.19.10/arch/arm/probes/kprobes/
Dcore.c305 if (p->post_handler) { in kprobe_handler()
307 p->post_handler(p, regs, 0); in kprobe_handler()
Dtest-core.c318 static void __kprobes post_handler(struct kprobe *p, struct pt_regs *regs, in post_handler() function
329 .post_handler = post_handler
1243 .kprobe.post_handler = test_before_post_handler,
/linux-5.19.10/arch/sparc/kernel/
Dkprobes.c301 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler()
303 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
/linux-5.19.10/arch/arm64/kernel/probes/
Dkprobes.c250 if (cur->post_handler) in post_kprobe_handler()
251 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
/linux-5.19.10/samples/kprobes/
Dkprobe_example.c101 kp.post_handler = handler_post; in kprobe_init()
/linux-5.19.10/arch/sh/kernel/
Dkprobes.c321 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler()
323 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
/linux-5.19.10/Documentation/trace/
Dkprobes.rst57 a post_handler, and how to use the maxactive and nmissed fields of
81 "post_handler," if any, that is associated with the kprobe.
97 This also means post_handler should not be called anymore.
228 - The probe has a post_handler.
286 - Specify an empty function for the kprobe's post_handler.
367 calls kp->post_handler. Any or all handlers can be NULL. If kp->flags is set
405 User's post-handler (kp->post_handler)::
409 void post_handler(struct kprobe *p, struct pt_regs *regs,
539 a probepoint for which there is a post_handler cannot be optimized.
540 So if you install a kprobe with a post_handler, at an optimized
/linux-5.19.10/arch/x86/mm/
Dkmmio.c345 if (ctx->probe && ctx->probe->post_handler) in post_kmmio_handler()
346 ctx->probe->post_handler(ctx->probe, condition, regs); in post_kmmio_handler()
/linux-5.19.10/arch/ia64/kernel/
Dkprobes.c772 if (p->ainsn.inst_flag == INST_FLAG_BOOSTABLE && !p->post_handler) { in pre_kprobes_handler()
801 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobes_handler()
803 cur->post_handler(cur, regs, 0); in post_kprobes_handler()

12