summaryrefslogtreecommitdiff
path: root/kprobe
diff options
context:
space:
mode:
authorVyacheslav Cherkashin <v.cherkashin@samsung.com>2013-04-03 17:31:28 +0400
committerVyacheslav Cherkashin <v.cherkashin@samsung.com>2013-04-03 17:31:28 +0400
commit3703356c2e1a84a53699245899d0036d81b4210d (patch)
tree9a37d60a551989349918f9b599368b3cabff96e5 /kprobe
parent3c235cf62c96cf248c5c878e0386579d0686656f (diff)
downloadswap-modules-3703356c2e1a84a53699245899d0036d81b4210d.tar.gz
swap-modules-3703356c2e1a84a53699245899d0036d81b4210d.tar.bz2
swap-modules-3703356c2e1a84a53699245899d0036d81b4210d.zip
[REFACTOR] move declaration *_handler()
setjmp_pre_handler() longjmp_break_handler() trampoline_probe_handler() from src/modules/kprobe/arch/dbi_kprobes.h to src/modules/kprobe/arch/asm-arm/dbi_kprobes.h
Diffstat (limited to 'kprobe')
-rw-r--r--kprobe/arch/asm-arm/dbi_kprobes.h5
-rw-r--r--kprobe/arch/dbi_kprobes.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/kprobe/arch/asm-arm/dbi_kprobes.h b/kprobe/arch/asm-arm/dbi_kprobes.h
index 2fa579bf..ef39351b 100644
--- a/kprobe/arch/asm-arm/dbi_kprobes.h
+++ b/kprobe/arch/asm-arm/dbi_kprobes.h
@@ -486,6 +486,11 @@ static inline int arch_init_module_deps(void)
int arch_check_insn_arm(struct arch_specific_insn *ainsn);
int prep_pc_dep_insn_execbuf(kprobe_opcode_t *insns, kprobe_opcode_t insn, int uregs);
+
+int setjmp_pre_handler(struct kprobe *p, struct pt_regs *regs);
+int longjmp_break_handler(struct kprobe *p, struct pt_regs *regs);
+int trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs);
+
//void gen_insn_execbuf (void);
//void pc_dep_insn_execbuf (void);
//void gen_insn_execbuf_holder (void);
diff --git a/kprobe/arch/dbi_kprobes.h b/kprobe/arch/dbi_kprobes.h
index 56a0800f..adbea6b1 100644
--- a/kprobe/arch/dbi_kprobes.h
+++ b/kprobe/arch/dbi_kprobes.h
@@ -71,11 +71,6 @@ void save_previous_kprobe (struct kprobe_ctlblk *kcb, struct kprobe *cur_p);
void restore_previous_kprobe (struct kprobe_ctlblk *kcb);
void set_current_kprobe (struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb);
-int setjmp_pre_handler (struct kprobe *p, struct pt_regs *regs);
-
void dbi_jprobe_return (void);
-int longjmp_break_handler (struct kprobe *p, struct pt_regs *regs);
-int trampoline_probe_handler (struct kprobe *p, struct pt_regs *regs);
-
#endif /* _DBI_ARCH_KPROBES_H */