Lines Matching refs:kprobe
17 DEFINE_PER_CPU(struct kprobe *, current_kprobe) = NULL;
20 static DEFINE_PER_CPU(struct kprobe, saved_current_opcode);
21 static DEFINE_PER_CPU(struct kprobe, saved_next_opcode);
22 static DEFINE_PER_CPU(struct kprobe, saved_next_opcode2);
40 int __kprobes arch_prepare_kprobe(struct kprobe *p)
53 void __kprobes arch_arm_kprobe(struct kprobe *p)
60 void __kprobes arch_disarm_kprobe(struct kprobe *p)
67 int __kprobes arch_trampoline_kprobe(struct kprobe *p)
77 * containing a kprobe, remove the probe.
83 struct kprobe *p = get_kprobe((kprobe_opcode_t *) pc + 1);
86 printk("Warning: removing kprobe from delay slot: 0x%.8x\n",
95 void __kprobes arch_remove_kprobe(struct kprobe *p)
97 struct kprobe *saved = this_cpu_ptr(&saved_next_opcode);
128 static void __kprobes set_current_kprobe(struct kprobe *p, struct pt_regs *regs,
135 * Singlestep is implemented by disabling the current kprobe and setting one
139 static void __kprobes prepare_singlestep(struct kprobe *p, struct pt_regs *regs)
144 struct kprobe *op1, *op2;
210 struct kprobe *p;
217 * duration of kprobe processing
299 static int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
308 struct kprobe *cur = kprobe_running();
311 struct kprobe *p = NULL;
357 struct kprobe *cur = kprobe_running();
367 * kprobe, point the pc back to the probe address
407 struct kprobe *p = NULL;
420 /* Not a kprobe trap */
439 static struct kprobe trampoline_p = {