Fix: leftover use of channel fd as identifier
[lttng-tools.git] / src / bin / lttng-sessiond / kernel.c
index 47833dc8bd9b7fc011153ed3cfa4109134644504..709b945094e0e6ae2ba3a488c7b9923bfef3ea23 100644 (file)
@@ -1040,7 +1040,7 @@ int kernel_snapshot_record(struct ltt_kernel_session *ksess,
 
                /* For each channel, ask the consumer to snapshot it. */
                cds_list_for_each_entry(chan, &ksess->channel_list.head, list) {
-                       ret = consumer_snapshot_channel(socket, chan->fd, output, 0,
+                       ret = consumer_snapshot_channel(socket, chan->key, output, 0,
                                        ksess->uid, ksess->gid,
                                        DEFAULT_KERNEL_TRACE_DIR, wait,
                                        nb_packets_per_stream);
This page took 0.025431 seconds and 5 git commands to generate.