uprobe: Receive file descriptor from session instead of path to file
[lttng-modules.git] / lttng-events.c
index a3030533d1e62d1c01f4cc8b0db9fed4cffa7425..67ed16972a10fbdfe949f4abf8e57bf4a2be0bbd 100644 (file)
@@ -756,7 +756,7 @@ struct lttng_event *_lttng_event_create(struct lttng_channel *chan,
                smp_wmb();
 
                ret = lttng_uprobes_register(event_param->name,
-                               event_param->u.uprobe.path,
+                               event_param->u.uprobe.fd,
                                event_param->u.uprobe.offset,
                                event);
                if (ret)
This page took 0.022492 seconds and 4 git commands to generate.