Add lttng_userspace_probe_location copy constructor
[lttng-tools.git] / include / lttng / userspace-probe.h
index 0168ac2fd7382e903882a2dbd0fbaeaecdfe4012..4c92c36b2d0abc9956cf7f97b41acc9d86cdc760 100644 (file)
@@ -104,6 +104,13 @@ extern const char *lttng_userspace_probe_location_function_get_binary_path(
 extern const char *lttng_userspace_probe_location_function_get_function_name(
                const struct lttng_userspace_probe_location *location);
 
+/*
+ * Get the FD to the target binary file to the probe location of the function
+ * type.
+ */
+extern int lttng_userspace_probe_location_function_get_binary_fd(
+               const struct lttng_userspace_probe_location *location);
+
 /*
  * Get the lookup method of the given userspace probe location.
  * Returns NULL if the probe location type is unsupported.
This page took 0.024131 seconds and 4 git commands to generate.