Allow regenerating the statedump of a running session
[lttng-tools.git] / include / lttng / lttng.h
index 09aa969f57f87345d34a43aa27366e717fab5c54..d37d6c06510528423025fd4ba250fb87651e83cd 100644 (file)
@@ -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
This page took 0.023661 seconds and 5 git commands to generate.