Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.c392 if (p->post_handler) in kprobe_handler()
393 p->post_handler(p, regs, 0); in kprobe_handler()
476 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in kprobe_post_handler()
478 cur->post_handler(cur, regs, 0); in kprobe_post_handler()
/linux-6.6.21/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-6.6.21/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.c241 if (cur->post_handler) { in post_kprobe_handler()
245 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
/linux-6.6.21/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-6.6.21/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-6.6.21/kernel/
Dkprobes.c686 if (p->post_handler) in optimize_kprobe()
1103 bool ipmodify = (p->post_handler != NULL); in arm_kprobe_ftrace()
1133 bool ipmodify = (p->post_handler != NULL); in disarm_kprobe_ftrace()
1214 if (kp->post_handler && likely(!kprobe_disabled(kp))) { in aggr_post_handler()
1216 kp->post_handler(kp, regs, flags); in aggr_post_handler()
1260 if (p->post_handler) in add_new_kprobe()
1264 if (p->post_handler && !ap->post_handler) in add_new_kprobe()
1265 ap->post_handler = aggr_post_handler; in add_new_kprobe()
1283 if (p->post_handler && !kprobe_gone(p)) in init_aggr_kprobe()
1284 ap->post_handler = aggr_post_handler; in init_aggr_kprobe()
[all …]
/linux-6.6.21/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-6.6.21/lib/
Dtest_kprobes.c58 .post_handler = kp_post_handler
119 .post_handler = kp_post_handler2
152 .post_handler = kp_post_handler,
/linux-6.6.21/arch/s390/kernel/
Dftrace.c324 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler()
326 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
Dkprobes.c407 if (kcb->kprobe_status != KPROBE_REENTER && p->post_handler) { in post_kprobe_handler()
409 p->post_handler(p, regs, 0); in post_kprobe_handler()
/linux-6.6.21/arch/loongarch/kernel/
Dftrace_dyn.c318 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler()
320 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
Dkprobes.c147 if (cur->post_handler) in post_kprobe_handler()
148 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
/linux-6.6.21/include/linux/
Dmmiotrace.h26 kmmio_post_handler_t post_handler; member
/linux-6.6.21/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-6.6.21/arch/arm64/kernel/probes/
Dkprobes.c265 if (cur->post_handler) in post_kprobe_handler()
266 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
/linux-6.6.21/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-6.6.21/arch/arm/probes/kprobes/
Dcore.c305 if (p->post_handler) { in kprobe_handler()
307 p->post_handler(p, regs, 0); in kprobe_handler()
/linux-6.6.21/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-6.6.21/samples/kprobes/
Dkprobe_example.c109 kp.post_handler = handler_post; in kprobe_init()
/linux-6.6.21/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.
227 - The probe has a post_handler.
285 - Specify an empty function for the kprobe's post_handler.
366 calls kp->post_handler. Any or all handlers can be NULL. If kp->flags is set
404 User's post-handler (kp->post_handler)::
408 void post_handler(struct kprobe *p, struct pt_regs *regs,
538 a probepoint for which there is a post_handler cannot be optimized.
539 So if you install a kprobe with a post_handler, at an optimized
/linux-6.6.21/arch/x86/mm/
Dkmmio.c349 if (ctx->probe && ctx->probe->post_handler) in post_kmmio_handler()
350 ctx->probe->post_handler(ctx->probe, condition, regs); in post_kmmio_handler()

12