Lines Matching refs:kprobe
22 * In the kprobe->ainsn.insn[] array we store the original
26 * When we hit a kprobe we:
31 * - Set regs->tpc to point to kprobe->ainsn.insn[0]
32 * - Set regs->tnpc to point to kprobe->ainsn.insn[1]
33 * - Mark that we are actively in a kprobe
36 * kprobe->ainsn.insn[1] to hit. When it does we:
42 * - Mark that we are no longer actively in a kprobe.
45 DEFINE_PER_CPU(struct kprobe *, current_kprobe) = NULL;
50 int __kprobes arch_prepare_kprobe(struct kprobe *p)
65 void __kprobes arch_arm_kprobe(struct kprobe *p)
71 void __kprobes arch_disarm_kprobe(struct kprobe *p)
93 static void __kprobes set_current_kprobe(struct kprobe *p, struct pt_regs *regs,
101 static void __kprobes prepare_singlestep(struct kprobe *p, struct pt_regs *regs,
118 struct kprobe *p;
125 * duration of kprobe processing
201 static unsigned long __kprobes relbranch_fixup(u32 insn, struct kprobe *p,
277 static void __kprobes resume_execution(struct kprobe *p,
295 struct kprobe *cur = kprobe_running();
322 struct kprobe *cur = kprobe_running();
332 * kprobe and the tpc points back to the probe address
449 static int __kprobes trampoline_probe_handler(struct kprobe *p,
473 static struct kprobe trampoline_p = {
483 int __kprobes arch_trampoline_kprobe(struct kprobe *p)