/linux-6.12.1/arch/powerpc/kernel/ |
D | kprobes-ftrace.c | 54 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler() 56 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
|
D | kprobes.c | 368 if (p->post_handler) in kprobe_handler() 369 p->post_handler(p, regs, 0); in kprobe_handler() 409 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in kprobe_post_handler() 411 cur->post_handler(cur, regs, 0); in kprobe_post_handler()
|
/linux-6.12.1/arch/x86/kernel/kprobes/ |
D | ftrace.c | 51 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler() 53 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
|
/linux-6.12.1/arch/csky/kernel/probes/ |
D | ftrace.c | 49 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler() 51 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.12.1/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.12.1/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() 1219 if (kp->post_handler && likely(!kprobe_disabled(kp))) { in aggr_post_handler() 1221 kp->post_handler(kp, regs, flags); in aggr_post_handler() 1265 if (p->post_handler) in add_new_kprobe() 1269 if (p->post_handler && !ap->post_handler) in add_new_kprobe() 1270 ap->post_handler = aggr_post_handler; in add_new_kprobe() 1288 if (p->post_handler && !kprobe_gone(p)) in init_aggr_kprobe() 1289 ap->post_handler = aggr_post_handler; in init_aggr_kprobe() [all …]
|
/linux-6.12.1/arch/parisc/kernel/ |
D | ftrace.c | 238 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler() 240 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.12.1/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.12.1/arch/loongarch/kernel/ |
D | ftrace_dyn.c | 321 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler() 323 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.12.1/include/linux/ |
D | mmiotrace.h | 26 kmmio_post_handler_t post_handler; member
|
/linux-6.12.1/arch/s390/kernel/ |
D | ftrace.c | 343 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler() 345 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
|
D | kprobes.c | 378 if (kcb->kprobe_status != KPROBE_REENTER && p->post_handler) { in post_kprobe_handler() 380 p->post_handler(p, regs, 0); in post_kprobe_handler()
|
/linux-6.12.1/arch/arc/kernel/ |
D | kprobes.c | 266 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in arc_post_kprobe_handler() 268 cur->post_handler(cur, regs, 0); in arc_post_kprobe_handler()
|
/linux-6.12.1/arch/riscv/kernel/probes/ |
D | kprobes.c | 233 if (cur->post_handler) { in post_kprobe_handler() 237 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
|
/linux-6.12.1/arch/arm64/kernel/probes/ |
D | kprobes.c | 258 if (cur->post_handler) in post_kprobe_handler() 259 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
|
/linux-6.12.1/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-6.12.1/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.12.1/arch/sh/kernel/ |
D | kprobes.c | 316 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler() 318 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
|
/linux-6.12.1/samples/kprobes/ |
D | kprobe_example.c | 109 kp.post_handler = handler_post; in kprobe_init()
|
/linux-6.12.1/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. 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-6.12.1/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()
|