diff options
author | Vyacheslav Cherkashin <v.cherkashin@samsung.com> | 2013-05-24 19:35:25 +0400 |
---|---|---|
committer | Vyacheslav Cherkashin <v.cherkashin@samsung.com> | 2013-05-24 19:35:25 +0400 |
commit | 51f274cdec6505786d6811cd4e4f00eff4bd1886 (patch) | |
tree | 2ef512a74e3223eab42a05a6e2bf18c6c62a4a58 | |
parent | 8ba855a59421c2f35629c01351921a92dc806077 (diff) | |
download | swap-modules-51f274cdec6505786d6811cd4e4f00eff4bd1886.tar.gz swap-modules-51f274cdec6505786d6811cd4e4f00eff4bd1886.tar.bz2 swap-modules-51f274cdec6505786d6811cd4e4f00eff4bd1886.zip |
[REFACTOR] rename dbi_uprobe_return()
dbi_uprobe_return() --> swap_ujprobe_return()
-rw-r--r-- | driver/us_def_handler.c | 2 | ||||
-rw-r--r-- | uprobe/swap_uprobes.c | 4 | ||||
-rw-r--r-- | uprobe/swap_uprobes.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/driver/us_def_handler.c b/driver/us_def_handler.c index 9af5ed0b..7cd8f6b3 100644 --- a/driver/us_def_handler.c +++ b/driver/us_def_handler.c @@ -34,7 +34,7 @@ void ujprobe_event_handler(unsigned long arg0, unsigned long arg1, pack_event_info(US_PROBE_ID, RECORD_ENTRY, "ppppppp", addr, arg0, arg1, arg2, arg3, arg4, arg5); - dbi_uprobe_return(); + swap_ujprobe_return(); } EXPORT_SYMBOL_GPL(ujprobe_event_handler); diff --git a/uprobe/swap_uprobes.c b/uprobe/swap_uprobes.c index 8884e7e6..94717a8a 100644 --- a/uprobe/swap_uprobes.c +++ b/uprobe/swap_uprobes.c @@ -957,10 +957,11 @@ void dbi_unregister_all_uprobes(struct task_struct *task) } } -void dbi_uprobe_return(void) +void swap_ujprobe_return(void) { dbi_arch_uprobe_return(); } +EXPORT_SYMBOL_GPL(swap_ujprobe_return); static int __init init_uprobes(void) { @@ -976,7 +977,6 @@ static void __exit exit_uprobes(void) swap_arch_exit_uprobes(); } -EXPORT_SYMBOL_GPL(dbi_uprobe_return); EXPORT_SYMBOL_GPL(dbi_register_ujprobe); EXPORT_SYMBOL_GPL(dbi_unregister_ujprobe); EXPORT_SYMBOL_GPL(dbi_register_uretprobe); diff --git a/uprobe/swap_uprobes.h b/uprobe/swap_uprobes.h index 68b2cbc2..0338a0cb 100644 --- a/uprobe/swap_uprobes.h +++ b/uprobe/swap_uprobes.h @@ -91,7 +91,7 @@ void dbi_unregister_uretprobe(struct uretprobe *rp); void dbi_unregister_all_uprobes(struct task_struct *task); -void dbi_uprobe_return(void); +void swap_ujprobe_return(void); struct kprobe *get_ukprobe(void *addr, pid_t tgid); struct kprobe *get_ukprobe_by_insn_slot(void *addr, pid_t tgid, struct pt_regs *regs); |