Use uuid as first comparison criteria
[babeltrace.git] / src / plugins / common / muxing / muxing.c
index 15e9427d6c17e2c73046f8b7e6a86f74362ef9f4..6257a28ad49e72fb4fa39e662713963f6d2aeff8 100644 (file)
@@ -856,14 +856,14 @@ int common_muxing_compare_messages(const bt_message *left_msg,
        msgs.right.trace = borrow_trace(right_msg);
        msgs.right.stream = borrow_stream(right_msg);
 
-       /* Same timestamp: compare trace names. */
-       ret = compare_messages_by_trace_name(&msgs);
+       /* Same timestamp: compare trace UUIDs. */
+       ret = compare_messages_by_trace_uuid(&msgs);
        if (ret) {
                goto end;
        }
 
-       /* Same timestamp and trace name: compare trace UUIDs. */
-       ret = compare_messages_by_trace_uuid(&msgs);
+       /* Same timestamp and trace UUID: compare trace names. */
+       ret = compare_messages_by_trace_name(&msgs);
        if (ret) {
                goto end;
        }
This page took 0.027463 seconds and 4 git commands to generate.