X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Flttng.h;h=09aa969f57f87345d34a43aa27366e717fab5c54;hp=2088864d254e9cb16b42ab31649ebf4603a1db81;hb=eded6438f3b15eccc391525f653e03293a890d32;hpb=b38afa27d40eaec3c632cbcd3a9f8421f8cea65d diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index 2088864d2..09aa969f5 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -159,13 +159,19 @@ extern int lttng_set_consumer_url(struct lttng_handle *handle, */ extern int lttng_data_pending(const char *session_name); +/* + * Deprecated, replaced by lttng_regenerate_metadata. + */ +LTTNG_DEPRECATED() +extern int lttng_metadata_regenerate(const char *session_name); + /* * Trigger the regeneration of the metadata for a session. * The new metadata overwrite the previous one locally or remotely (through * the lttng-relayd). Only kernel, per-uid and non-live sessions are supported. * Return 0 on success, a negative LTTng error code on error. */ -extern int lttng_metadata_regenerate(const char *session_name); +extern int lttng_regenerate_metadata(const char *session_name); #ifdef __cplusplus }