uprobe: Receive file descriptor from session instead of path to file
[lttng-modules.git] / lttng-events.h
index 4093bd8abd6a39567bd33213cb33746218c9f3f0..f6fe151886debe591ff295c800a80b5e5d81e5db 100644 (file)
@@ -779,7 +779,7 @@ void lttng_kprobes_destroy_private(struct lttng_event *event)
 
 #ifdef CONFIG_UPROBES
 int lttng_uprobes_register(const char *name,
-               const char *path,
+               int fd,
                uint64_t offset,
                struct lttng_event *event);
 void lttng_uprobes_unregister(struct lttng_event *event);
@@ -787,7 +787,7 @@ void lttng_uprobes_destroy_private(struct lttng_event *event);
 #else
 static inline
 int lttng_uprobes_register(const char *name,
-               const char *path,
+               int fd,
                uint64_t offset,
                struct lttng_event *event)
 {
This page took 0.023483 seconds and 4 git commands to generate.