Add stream instance id to the packet header
[lttng-modules.git] / lttng-ring-buffer-metadata-client.h
index 446df89772ac885a90fc639d426f868ff53e1549..3c9a3d8f100c84c433b06e6b2ffbd22ed3db505a 100644 (file)
@@ -206,6 +206,14 @@ static int client_sequence_number(const struct lib_ring_buffer_config *config,
        return -ENOSYS;
 }
 
+static
+int client_instance_id(const struct lib_ring_buffer_config *config,
+               struct lib_ring_buffer *bufb,
+               uint64_t *id)
+{
+       return -ENOSYS;
+}
+
 static const struct lib_ring_buffer_config client_config = {
        .cb.ring_buffer_clock_read = client_ring_buffer_clock_read,
        .cb.record_header_size = client_record_header_size,
@@ -413,6 +421,7 @@ static struct lttng_transport lttng_relay_transport = {
                .stream_id = client_stream_id,
                .current_timestamp = client_current_timestamp,
                .sequence_number = client_sequence_number,
+               .instance_id = client_instance_id,
        },
 };
 
This page took 0.024183 seconds and 4 git commands to generate.