preload_module_write_msg_init(ip);
}
+static int write_msg_reg(struct us_ip *ip)
+{
+ ip->uprobe.atomic_ctx = false;
+
+ return get_caller_register_probe(ip);
+}
+
static void write_msg_uninit(struct us_ip *ip)
{
preload_module_write_msg_exit(ip);
static struct probe_iface write_msg_iface = {
.init = write_msg_init,
.uninit = write_msg_uninit,
- .reg = get_caller_register_probe,
+ .reg = write_msg_reg,
.unreg = get_caller_unregister_probe,
.get_uprobe = get_caller_get_uprobe,
.copy = get_caller_info_copy,