/linux-5.19.10/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 | 389 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/ |
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-5.19.10/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 | 220 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/ |
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-5.19.10/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-5.19.10/kernel/ |
D | kprobes.c | 688 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/ |
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-5.19.10/arch/s390/kernel/ |
D | ftrace.c | 344 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler() 346 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
|
D | kprobes.c | 436 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/ |
D | mmiotrace.h | 26 kmmio_post_handler_t post_handler; member
|
/linux-5.19.10/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-5.19.10/lib/ |
D | test_kprobes.c | 48 .post_handler = kp_post_handler 109 .post_handler = kp_post_handler2
|
/linux-5.19.10/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()
|
D | test-core.c | 318 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/ |
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-5.19.10/arch/arm64/kernel/probes/ |
D | kprobes.c | 250 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/ |
D | kprobe_example.c | 101 kp.post_handler = handler_post; in kprobe_init()
|
/linux-5.19.10/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-5.19.10/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. 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/ |
D | kmmio.c | 345 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/ |
D | kprobes.c | 772 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()
|