X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fuserspace-probe.h;fp=include%2Flttng%2Fuserspace-probe.h;h=4c92c36b2d0abc9956cf7f97b41acc9d86cdc760;hp=0168ac2fd7382e903882a2dbd0fbaeaecdfe4012;hb=394357fe3de7a15a81b5a25bddf3d82a64c1f65a;hpb=83712c39736bc4edbd64ca7e83192c9877a80a8e diff --git a/include/lttng/userspace-probe.h b/include/lttng/userspace-probe.h index 0168ac2fd..4c92c36b2 100644 --- a/include/lttng/userspace-probe.h +++ b/include/lttng/userspace-probe.h @@ -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.