X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Flttng.h;h=d37d6c06510528423025fd4ba250fb87651e83cd;hp=09aa969f57f87345d34a43aa27366e717fab5c54;hb=c25613651ac7525a16b9877230a682fc1a64e036;hpb=1eceaef161370ab5f8a8ad65c4df9272afcab577 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