/linux-6.6.21/arch/powerpc/kernel/ |
D | kprobes-ftrace.c | 51 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler() 53 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
|
D | kprobes.c | 392 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/ |
D | ftrace.c | 48 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/ |
D | ftrace.c | 40 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler() 42 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
|
D | kprobes.c | 241 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/ |
D | ftrace.c | 46 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler() 48 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
|
D | kprobes.c | 264 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/ |
D | kprobes.c | 363 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/ |
D | kprobes.c | 686 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/ |
D | ftrace.c | 235 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler() 237 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
|
D | kprobes.c | 158 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/ |
D | test_kprobes.c | 58 .post_handler = kp_post_handler 119 .post_handler = kp_post_handler2 152 .post_handler = kp_post_handler,
|
/linux-6.6.21/arch/s390/kernel/ |
D | ftrace.c | 324 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler() 326 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
|
D | kprobes.c | 407 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/ |
D | ftrace_dyn.c | 318 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler() 320 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
|
D | kprobes.c | 147 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/ |
D | mmiotrace.h | 26 kmmio_post_handler_t post_handler; member
|
/linux-6.6.21/arch/arc/kernel/ |
D | kprobes.c | 265 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/ |
D | kprobes.c | 265 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/ |
D | kprobes.c | 301 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/ |
D | core.c | 305 if (p->post_handler) { in kprobe_handler() 307 p->post_handler(p, regs, 0); in kprobe_handler()
|
/linux-6.6.21/arch/sh/kernel/ |
D | kprobes.c | 321 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/ |
D | kprobe_example.c | 109 kp.post_handler = handler_post; in kprobe_init()
|
/linux-6.6.21/Documentation/trace/ |
D | kprobes.rst | 57 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/ |
D | kmmio.c | 349 if (ctx->probe && ctx->probe->post_handler) in post_kmmio_handler() 350 ctx->probe->post_handler(ctx->probe, condition, regs); in post_kmmio_handler()
|