|
@@ -531,10 +531,11 @@ reenter_kprobe(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb
|
|
switch (kcb->kprobe_status) {
|
|
switch (kcb->kprobe_status) {
|
|
case KPROBE_HIT_SSDONE:
|
|
case KPROBE_HIT_SSDONE:
|
|
case KPROBE_HIT_ACTIVE:
|
|
case KPROBE_HIT_ACTIVE:
|
|
|
|
+ case KPROBE_HIT_SS:
|
|
kprobes_inc_nmissed_count(p);
|
|
kprobes_inc_nmissed_count(p);
|
|
setup_singlestep(p, regs, kcb, 1);
|
|
setup_singlestep(p, regs, kcb, 1);
|
|
break;
|
|
break;
|
|
- case KPROBE_HIT_SS:
|
|
|
|
|
|
+ case KPROBE_REENTER:
|
|
/* A probe has been hit in the codepath leading up to, or just
|
|
/* A probe has been hit in the codepath leading up to, or just
|
|
* after, single-stepping of a probed instruction. This entire
|
|
* after, single-stepping of a probed instruction. This entire
|
|
* codepath should strictly reside in .kprobes.text section.
|
|
* codepath should strictly reside in .kprobes.text section.
|