/linux-4.4.14/arch/x86/kernel/kprobes/ |
D | ftrace.c | 37 if (unlikely(p->post_handler)) { in __skip_singlestep() 39 p->post_handler(p, regs, 0); in __skip_singlestep()
|
D | core.c | 530 if (p->ainsn.boostable == 1 && !p->post_handler) { in setup_singlestep() 919 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in kprobe_debug_handler() 921 cur->post_handler(cur, regs, 0); in kprobe_debug_handler()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | kprobes.c | 247 if (p->post_handler) in kprobe_handler() 248 p->post_handler(p, regs, 0); in kprobe_handler() 375 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler() 377 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
|
/linux-4.4.14/arch/mips/kernel/ |
D | kprobes.c | 423 if (p->post_handler) in kprobe_handler() 424 p->post_handler(p, regs, 0); in kprobe_handler() 446 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler() 448 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
|
/linux-4.4.14/arch/arm/probes/kprobes/ |
D | core.c | 300 if (p->post_handler) { in kprobe_handler() 302 p->post_handler(p, regs, 0); in kprobe_handler() 319 if (cur->post_handler) { in kprobe_handler() 321 cur->post_handler(cur, regs, 0); in kprobe_handler()
|
D | test-core.c | 321 static void __kprobes post_handler(struct kprobe *p, struct pt_regs *regs, in post_handler() function 332 .post_handler = post_handler 1296 .kprobe.post_handler = test_before_post_handler,
|
/linux-4.4.14/kernel/ |
D | kprobes.c | 595 if (p->break_handler || p->post_handler) in optimize_kprobe() 1023 if (kp->post_handler && likely(!kprobe_disabled(kp))) { in aggr_post_handler() 1025 kp->post_handler(kp, regs, flags); in aggr_post_handler() 1211 if (p->break_handler || p->post_handler) in add_new_kprobe() 1221 if (p->post_handler && !ap->post_handler) in add_new_kprobe() 1222 ap->post_handler = aggr_post_handler; in add_new_kprobe() 1241 if (p->post_handler && !kprobe_gone(p)) in init_aggr_kprobe() 1242 ap->post_handler = aggr_post_handler; in init_aggr_kprobe() 1621 if (p->post_handler && !kprobe_gone(p)) { in __unregister_kprobe_top() 1623 if ((list_p != p) && (list_p->post_handler)) in __unregister_kprobe_top() [all …]
|
D | test_kprobes.c | 54 .post_handler = kp_post_handler 107 .post_handler = kp_post_handler2
|
/linux-4.4.14/arch/avr32/kernel/ |
D | kprobes.c | 174 if (cur->post_handler) { in post_kprobe_handler() 176 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
|
/linux-4.4.14/include/linux/ |
D | mmiotrace.h | 25 kmmio_post_handler_t post_handler; member
|
D | kprobes.h | 95 kprobe_post_handler_t post_handler; member
|
/linux-4.4.14/samples/kprobes/ |
D | kprobe_example.c | 89 kp.post_handler = handler_post; in kprobe_init()
|
/linux-4.4.14/arch/tile/kernel/ |
D | kprobes.c | 297 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler() 299 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
|
/linux-4.4.14/arch/arc/kernel/ |
D | kprobes.c | 274 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in arc_post_kprobe_handler() 276 cur->post_handler(cur, regs, 0); in arc_post_kprobe_handler()
|
/linux-4.4.14/arch/x86/mm/ |
D | kmmio.c | 343 if (ctx->probe && ctx->probe->post_handler) in post_kmmio_handler() 344 ctx->probe->post_handler(ctx->probe, condition, regs); in post_kmmio_handler()
|
D | mmio-mod.c | 257 .post_handler = post, in ioremap_trace_core()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | kprobes.c | 304 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler() 306 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
|
/linux-4.4.14/Documentation/ |
D | kprobes.txt | 52 a post_handler, and how to use the maxactive and nmissed fields of 75 "post_handler," if any, that is associated with the kprobe. 219 post_handler. 273 - Specify an empty function for the kprobe's post_handler or break_handler. 340 is single-stepped, Kprobe calls kp->post_handler. If a fault 341 occurs during execution of kp->pre_handler or kp->post_handler, 379 User's post-handler (kp->post_handler): 382 void post_handler(struct kprobe *p, struct pt_regs *regs, 521 a post_handler cannot be optimized. So if you install a jprobe, 522 or a kprobe with a post_handler, at an optimized probepoint, the
|
/linux-4.4.14/arch/sh/kernel/ |
D | kprobes.c | 381 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler() 383 cur->post_handler(cur, regs, 0); in post_kprobe_handler()
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | kprobes.c | 538 if (cur_kprobe->post_handler) in post_kprobe_handler() 539 cur_kprobe->post_handler(cur_kprobe, regs, 0); in post_kprobe_handler()
|
/linux-4.4.14/arch/ia64/kernel/ |
D | kprobes.c | 874 if (p->ainsn.inst_flag == INST_FLAG_BOOSTABLE && !p->post_handler) { in pre_kprobes_handler() 903 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobes_handler() 905 cur->post_handler(cur, regs, 0); in post_kprobes_handler()
|
/linux-4.4.14/arch/s390/kernel/ |
D | kprobes.c | 541 if (kcb->kprobe_status != KPROBE_REENTER && p->post_handler) { in post_kprobe_handler() 543 p->post_handler(p, regs, 0); in post_kprobe_handler()
|