Fix: snapshot path have domain subdir duplicate "ust/ust" or "kernel/kernel"
[lttng-tools.git] / src / bin / lttng-sessiond / kernel.c
index f1e61846d8a18911989b9b4a87120f9fbf9e7841..5afd87734c3ba09d5729e9a482a16b9163bb1b3a 100644 (file)
@@ -1699,7 +1699,7 @@ enum lttng_error_code kernel_snapshot_record(
        }
 
        trace_path = setup_channel_trace_path(ksess->consumer,
        }
 
        trace_path = setup_channel_trace_path(ksess->consumer,
-                       DEFAULT_KERNEL_TRACE_DIR, &consumer_path_offset);
+                       "", &consumer_path_offset);
        if (!trace_path) {
                status = LTTNG_ERR_INVALID;
                goto error;
        if (!trace_path) {
                status = LTTNG_ERR_INVALID;
                goto error;
This page took 0.022992 seconds and 4 git commands to generate.