Clarify incorrect channel output type logging message
[lttng-tools.git] / src / common / kernel-consumer / kernel-consumer.c
index 246ae6b59dedc6182b1628aef8065a686959bbbc..4e93bee915463bccba902d646f72f2fdd1f20f87 100644 (file)
@@ -144,7 +144,8 @@ static int lttng_kconsumer_snapshot_channel(
 
        /* Splice is not supported yet for channel snapshot. */
        if (channel->output != CONSUMER_CHANNEL_MMAP) {
-               ERR("Unsupported output %d", channel->output);
+               ERR("Unsupported output type for channel \"%s\": mmap output is required to record a snapshot",
+                               channel->name);
                ret = -1;
                goto end;
        }
This page took 0.025357 seconds and 5 git commands to generate.