Lines Matching refs:kprobe
31 DEFINE_PER_CPU(struct kprobe *, current_kprobe) = NULL;
129 int arch_prepare_kprobe(struct kprobe *p)
132 struct kprobe *prev;
136 printk("Attempt to register kprobe at an unaligned address\n");
139 printk("Cannot register a kprobe on instructions that can't be single stepped\n");
143 printk("Cannot register a kprobe on the second word of prefixed instruction\n");
149 * When prev is a ftrace-based kprobe, we don't have an insn, and it
154 printk("Cannot register a kprobe on the second word of prefixed instruction\n");
176 void arch_arm_kprobe(struct kprobe *p)
182 void arch_disarm_kprobe(struct kprobe *p)
188 void arch_remove_kprobe(struct kprobe *p)
197 static nokprobe_inline void prepare_singlestep(struct kprobe *p, struct pt_regs *regs)
224 static nokprobe_inline void set_current_kprobe(struct kprobe *p, struct pt_regs *regs,
241 static int try_to_emulate(struct kprobe *p, struct pt_regs *regs)
284 struct kprobe *p;
298 * duration of kprobe processing
413 static int trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
451 struct kprobe *cur = kprobe_running();
458 /* make sure we got here for instruction we have a kprobe on */
494 struct kprobe *cur = kprobe_running();
504 * kprobe and the nip points back to the probe address
542 static struct kprobe trampoline_p = {
552 int arch_trampoline_kprobe(struct kprobe *p)