X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Flttng.h;h=d37d6c06510528423025fd4ba250fb87651e83cd;hb=d8ed06afceb2d0517633814f7f2a04f69ac71da6;hp=09aa969f57f87345d34a43aa27366e717fab5c54;hpb=eded6438f3b15eccc391525f653e03293a890d32;p=lttng-tools.git diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index 09aa969f5..d37d6c065 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -173,6 +173,15 @@ extern int lttng_metadata_regenerate(const char *session_name); */ extern int lttng_regenerate_metadata(const char *session_name); +/* + * Trigger the regeneration of the statedump for a session. The new statedump + * information is appended to the currently active trace, the session needs to + * be active. + * + * Return 0 on success, a negative LTTng error code on error. + */ +extern int lttng_regenerate_statedump(const char *session_name); + #ifdef __cplusplus } #endif