Fix: send per-pid session id in channel creation
[lttng-tools.git] / src / common / consumer.c
index 5574c5f0e1d545691f6837d2d4100a10c2a59e48..57322ae08dbb41685f17bcadb3b59ccc378c2431 100644 (file)
@@ -769,6 +769,7 @@ struct lttng_consumer_channel *consumer_allocate_channel(uint64_t key,
                enum lttng_event_output output,
                uint64_t tracefile_size,
                uint64_t tracefile_count,
+               uint64_t session_id_per_pid,
                unsigned int monitor)
 {
        struct lttng_consumer_channel *channel;
@@ -782,6 +783,7 @@ struct lttng_consumer_channel *consumer_allocate_channel(uint64_t key,
        channel->key = key;
        channel->refcount = 0;
        channel->session_id = session_id;
+       channel->session_id_per_pid = session_id_per_pid;
        channel->uid = uid;
        channel->gid = gid;
        channel->relayd_id = relayd_id;
This page took 0.022858 seconds and 4 git commands to generate.