X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fuserspace-probe.h;h=5a6fa51a0318d8d1cf07e30d36692ea463bb1ab2;hp=7215bd9679303e0fba793647f9d17d6473679529;hb=21a4b05678c20899ad0aa1d3efb565d47d56ecf4;hpb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a diff --git a/include/lttng/userspace-probe.h b/include/lttng/userspace-probe.h index 7215bd967..5a6fa51a0 100644 --- a/include/lttng/userspace-probe.h +++ b/include/lttng/userspace-probe.h @@ -120,7 +120,7 @@ extern const char *lttng_userspace_probe_location_function_get_function_name( /* * Get the FD to the target binary file to the probe location of the function - * type. + * type. The FD is only valid for the duration of the lifetime of `location`. */ extern int lttng_userspace_probe_location_function_get_binary_fd( const struct lttng_userspace_probe_location *location); @@ -191,7 +191,7 @@ extern const char *lttng_userspace_probe_location_tracepoint_get_provider_name( /* * Get the FD to the target binary file to the probe location of the tracepoint - * type. + * type. The FD is only valid for the duration of the lifetime of `location`. */ extern int lttng_userspace_probe_location_tracepoint_get_binary_fd( const struct lttng_userspace_probe_location *location);