summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--driver/us_def_handler.c2
-rw-r--r--uprobe/swap_uprobes.c4
-rw-r--r--uprobe/swap_uprobes.h2
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);