Command metadata regenerate
[lttng-tools.git] / src / common / sessiond-comm / relayd.h
index 4d751b86d91d22dee618f2231342cebddc8d5e08..1fc48c442b4e52b68391683fd3a3f392ce3eb038 100644 (file)
@@ -159,6 +159,8 @@ struct lttcomm_relayd_index {
        uint64_t timestamp_end;
        uint64_t events_discarded;
        uint64_t stream_id;
+       uint64_t stream_instance_id;
+       uint64_t packet_seq_num;
 } LTTNG_PACKED;
 
 /*
@@ -171,4 +173,13 @@ struct lttcomm_relayd_create_session_2_4 {
        uint32_t snapshot;
 } LTTNG_PACKED;
 
+/*
+ * Used to ask the relay to reset the metadata trace file (regeneration).
+ * Send the new version of the metadata (starts at 0).
+ */
+struct lttcomm_relayd_reset_metadata {
+       uint64_t stream_id;
+       uint64_t version;
+} LTTNG_PACKED;
+
 #endif /* _RELAYD_COMM */
This page took 0.024375 seconds and 4 git commands to generate.