trigger: consider name in trigger _is_equal()`
[lttng-tools.git] / src / common / trigger.c
index ad0d5df1ba9c26644f8ee08bb61245c0d244392b..b79b9e0448c6e624e6e819dc3a1b9fe254dc8382 100644 (file)
@@ -393,9 +393,10 @@ bool lttng_trigger_is_equal(
                return false;
        }
 
-       /*
-        * Name is not taken into account since it is cosmetic only.
-        */
+       if (strcmp(a->name, b->name) != 0) {
+               return false;
+       }
+
        if (!lttng_condition_is_equal(a->condition, b->condition)) {
                return false;
        }
This page took 0.023364 seconds and 4 git commands to generate.