Fix: leftover use of channel fd as identifier
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 1 Mar 2018 22:03:52 +0000 (17:03 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 10 Apr 2019 23:36:37 +0000 (19:36 -0400)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
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.026549 seconds and 5 git commands to generate.