[REFACTOR] rename dbi_uprobe_return()
authorVyacheslav Cherkashin <v.cherkashin@samsung.com>
Fri, 24 May 2013 15:35:25 +0000 (19:35 +0400)
committerVyacheslav Cherkashin <v.cherkashin@samsung.com>
Fri, 24 May 2013 15:35:25 +0000 (19:35 +0400)
dbi_uprobe_return() --> swap_ujprobe_return()

driver/us_def_handler.c
uprobe/swap_uprobes.c
uprobe/swap_uprobes.h

index 9af5ed0..7cd8f6b 100644 (file)
@@ -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);
 
index 8884e7e..94717a8 100644 (file)
@@ -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);
index 68b2cbc..0338a0c 100644 (file)
@@ -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);