Home
last modified time | relevance | path

Searched refs:kprobe (Results 1 – 25 of 29) sorted by relevance

12

/arch/avr32/kernel/
Dkprobes.c21 DEFINE_PER_CPU(struct kprobe *, current_kprobe);
27 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe()
48 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
57 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe()
66 static void __kprobes prepare_singlestep(struct kprobe *p, struct pt_regs *regs) in prepare_singlestep()
90 static void __kprobes resume_execution(struct kprobe *p, struct pt_regs *regs) in resume_execution()
105 static void __kprobes set_current_kprobe(struct kprobe *p) in set_current_kprobe()
112 struct kprobe *p; in kprobe_handler()
167 struct kprobe *cur = kprobe_running(); in post_kprobe_handler()
188 struct kprobe *cur = kprobe_running(); in kprobe_fault_handler()
[all …]
/arch/sh/kernel/
Dkprobes.c20 DEFINE_PER_CPU(struct kprobe *, current_kprobe) = NULL;
23 static DEFINE_PER_CPU(struct kprobe, saved_current_opcode);
24 static DEFINE_PER_CPU(struct kprobe, saved_next_opcode);
25 static DEFINE_PER_CPU(struct kprobe, saved_next_opcode2);
43 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe()
55 void __kprobes arch_copy_kprobe(struct kprobe *p) in arch_copy_kprobe()
61 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
68 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe()
75 int __kprobes arch_trampoline_kprobe(struct kprobe *p) in arch_trampoline_kprobe()
91 struct kprobe *p = get_kprobe((kprobe_opcode_t *) pc + 1); in kprobe_handle_illslot()
[all …]
/arch/tile/kernel/
Dkprobes.c33 DEFINE_PER_CPU(struct kprobe *, current_kprobe) = NULL;
85 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe()
115 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
130 void __kprobes arch_disarm_kprobe(struct kprobe *kp) in arch_disarm_kprobe()
145 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe()
167 static void __kprobes set_current_kprobe(struct kprobe *p, struct pt_regs *regs, in set_current_kprobe()
174 static void __kprobes prepare_singlestep(struct kprobe *p, struct pt_regs *regs) in prepare_singlestep()
186 struct kprobe *p; in kprobe_handler()
282 static void __kprobes resume_execution(struct kprobe *p, in resume_execution()
292 struct kprobe *cur = kprobe_running(); in post_kprobe_handler()
[all …]
/arch/x86/kernel/kprobes/
Dcommon.h85 extern int setup_detour_execution(struct kprobe *p, struct pt_regs *regs, int reenter);
88 static inline int setup_detour_execution(struct kprobe *p, struct pt_regs *regs, int reenter) in setup_detour_execution()
99 extern int skip_singlestep(struct kprobe *p, struct pt_regs *regs,
102 static inline int skip_singlestep(struct kprobe *p, struct pt_regs *regs, in skip_singlestep()
Dftrace.c29 int __skip_singlestep(struct kprobe *p, struct pt_regs *regs, in __skip_singlestep()
45 int skip_singlestep(struct kprobe *p, struct pt_regs *regs, in skip_singlestep()
59 struct kprobe *p; in kprobe_ftrace_handler()
91 int arch_prepare_kprobe_ftrace(struct kprobe *p) in arch_prepare_kprobe_ftrace()
Dcore.c65 DEFINE_PER_CPU(struct kprobe *, current_kprobe) = NULL;
225 struct kprobe *kp; in __recover_probed_insn()
375 static int arch_copy_kprobe(struct kprobe *p) in arch_copy_kprobe()
402 int arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe()
417 void arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
422 void arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe()
427 void arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe()
454 set_current_kprobe(struct kprobe *p, struct pt_regs *regs, in set_current_kprobe()
495 static void setup_singlestep(struct kprobe *p, struct pt_regs *regs, in setup_singlestep()
539 static int reenter_kprobe(struct kprobe *p, struct pt_regs *regs, in reenter_kprobe()
[all …]
/arch/arc/kernel/
Dkprobes.c23 DEFINE_PER_CPU(struct kprobe *, current_kprobe) = NULL;
26 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe()
40 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
48 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe()
56 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe()
94 static inline void __kprobes set_current_kprobe(struct kprobe *p) in set_current_kprobe()
99 static void __kprobes resume_execution(struct kprobe *p, unsigned long addr, in resume_execution()
128 static void __kprobes setup_singlestep(struct kprobe *p, struct pt_regs *regs) in setup_singlestep()
198 struct kprobe *p; in arc_kprobe_handler()
256 struct kprobe *cur = kprobe_running(); in arc_post_kprobe_handler()
[all …]
/arch/arm/include/asm/
Dkprobes.h31 struct kprobe;
37 struct kprobe *kp;
49 void arch_remove_kprobe(struct kprobe *);
/arch/powerpc/kernel/
Dkprobes.c40 DEFINE_PER_CPU(struct kprobe *, current_kprobe) = NULL;
45 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe()
78 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
85 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe()
92 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe()
100 static void __kprobes prepare_singlestep(struct kprobe *p, struct pt_regs *regs) in prepare_singlestep()
127 static void __kprobes set_current_kprobe(struct kprobe *p, struct pt_regs *regs, in set_current_kprobe()
145 struct kprobe *p; in kprobe_handler()
291 static int __kprobes trampoline_probe_handler(struct kprobe *p, in trampoline_probe_handler()
365 struct kprobe *cur = kprobe_running(); in post_kprobe_handler()
[all …]
/arch/s390/kernel/
Dkprobes.c36 DEFINE_PER_CPU(struct kprobe *, current_kprobe);
61 static void __kprobes copy_instruction(struct kprobe *p) in copy_instruction()
100 static int __kprobes s390_get_insn_slot(struct kprobe *p) in s390_get_insn_slot()
115 static void __kprobes s390_free_insn_slot(struct kprobe *p) in s390_free_insn_slot()
126 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe()
157 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
166 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe()
175 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe()
219 static void __kprobes push_kprobe(struct kprobe_ctlblk *kcb, struct kprobe *p) in push_kprobe()
247 struct kprobe *p) in kprobe_reenter_check()
[all …]
/arch/sparc/kernel/
Dkprobes.c44 DEFINE_PER_CPU(struct kprobe *, current_kprobe) = NULL;
49 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe()
64 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
70 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe()
92 static void __kprobes set_current_kprobe(struct kprobe *p, struct pt_regs *regs, in set_current_kprobe()
100 static void __kprobes prepare_singlestep(struct kprobe *p, struct pt_regs *regs, in prepare_singlestep()
117 struct kprobe *p; in kprobe_handler()
204 static unsigned long __kprobes relbranch_fixup(u32 insn, struct kprobe *p, in relbranch_fixup()
280 static void __kprobes resume_execution(struct kprobe *p, in resume_execution()
298 struct kprobe *cur = kprobe_running(); in post_kprobe_handler()
[all …]
/arch/mips/kernel/
Dkprobes.c53 DEFINE_PER_CPU(struct kprobe *, current_kprobe);
141 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe()
196 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
202 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe()
208 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe()
234 static void set_current_kprobe(struct kprobe *p, struct pt_regs *regs, in set_current_kprobe()
255 static int evaluate_branch_instruction(struct kprobe *p, struct pt_regs *regs, in evaluate_branch_instruction()
289 static void prepare_singlestep(struct kprobe *p, struct pt_regs *regs, in prepare_singlestep()
322 static void __kprobes resume_execution(struct kprobe *p, in resume_execution()
336 struct kprobe *p; in kprobe_handler()
[all …]
/arch/arc/include/asm/
Dkprobes.h32 struct kprobe;
34 void arch_remove_kprobe(struct kprobe *p);
40 struct kprobe *kp;
/arch/tile/include/asm/
Dkprobes.h38 struct kprobe;
46 struct kprobe *kp;
74 void arch_remove_kprobe(struct kprobe *);
/arch/sh/include/asm/
Dkprobes.h22 struct kprobe;
24 void arch_remove_kprobe(struct kprobe *);
35 struct kprobe *kp;
/arch/arm/kernel/
Dkprobes.c51 DEFINE_PER_CPU(struct kprobe *, current_kprobe) = NULL;
55 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe()
117 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
155 struct kprobe *kp = p; in __arch_disarm_kprobe()
163 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe()
168 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe()
188 static void __kprobes set_current_kprobe(struct kprobe *p) in set_current_kprobe()
194 singlestep_skip(struct kprobe *p, struct pt_regs *regs) in singlestep_skip()
208 singlestep(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) in singlestep()
222 struct kprobe *p, *cur; in kprobe_handler()
[all …]
Dkprobes-test.c309 static int __kprobes pre_handler(struct kprobe *p, struct pt_regs *regs) in pre_handler()
317 static void __kprobes post_handler(struct kprobe *p, struct pt_regs *regs, in post_handler()
325 static struct kprobe the_kprobe = {
553 benchmark_pre_handler(struct kprobe *p, struct pt_regs *regs) in benchmark_pre_handler()
575 struct kprobe k = { in kprobe_benchmark()
1212 struct kprobe kprobe; member
1220 unregister_kprobe(&probe->kprobe); in unregister_test_probe()
1221 probe->kprobe.flags = 0; /* Clear disable flag to allow reuse */ in unregister_test_probe()
1233 ret = register_kprobe(&probe->kprobe); in register_test_probe()
1242 test_before_pre_handler(struct kprobe *p, struct pt_regs *regs) in test_before_pre_handler()
[all …]
/arch/mips/include/asm/
Dkprobes.h34 struct kprobe;
51 void arch_remove_kprobe(struct kprobe *p);
60 struct kprobe *kp;
/arch/s390/include/asm/
Dkprobes.h37 struct kprobe;
66 struct kprobe *kp;
80 void arch_remove_kprobe(struct kprobe *p);
/arch/powerpc/include/asm/
Dkprobes.h38 struct kprobe;
77 extern void arch_remove_kprobe(struct kprobe *p);
91 struct kprobe *kp;
/arch/mn10300/include/asm/
Dkprobes.h27 struct kprobe;
48 extern void arch_remove_kprobe(struct kprobe *p);
/arch/x86/include/asm/
Dkprobes.h32 struct kprobe;
63 void arch_remove_kprobe(struct kprobe *p);
98 struct kprobe *kp;
/arch/ia64/include/asm/
Dkprobes.h56 struct kprobe;
71 struct kprobe *kp;
125 extern void arch_remove_kprobe(struct kprobe *p);
/arch/mn10300/kernel/
Dkprobes.c34 static struct kprobe *cur_kprobe;
42 DEFINE_PER_CPU(struct kprobe *, current_kprobe) = NULL;
361 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe()
366 void __kprobes arch_copy_kprobe(struct kprobe *p) in arch_copy_kprobe()
371 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
378 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe()
386 void arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe()
391 void __kprobes disarm_kprobe(struct kprobe *p, struct pt_regs *regs) in disarm_kprobe()
402 void __kprobes prepare_singlestep(struct kprobe *p, struct pt_regs *regs) in prepare_singlestep()
430 struct kprobe *p; in kprobe_handler()
[all …]
/arch/ia64/kernel/
Dkprobes.c40 DEFINE_PER_CPU(struct kprobe *, current_kprobe) = NULL;
103 struct kprobe *p) in update_kprobe_inst_flag()
303 struct kprobe *p, in prepare_break_inst()
404 static void __kprobes set_current_kprobe(struct kprobe *p, in set_current_kprobe()
422 int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs) in trampoline_probe_handler()
563 static void __kprobes prepare_booster(struct kprobe *p) in prepare_booster()
567 struct kprobe *other_kp; in prepare_booster()
582 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe()
621 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe()
648 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe()
[all …]

12