Fix: futex wait: handle spurious futex wakeups
[lttng-tools.git] / tests / regression / tools / trigger / utils / notification-client.c
index ac572bfc6d870233570adafeb267de0978f43c97..3d8aec46ddbd8b7feb5cf90dbc75a43298384bfc 100644 (file)
@@ -62,6 +62,7 @@ static bool action_list_contains_notify(
        return false;
 }
 
+/* Only expects named triggers. */
 static bool is_trigger_name(const char *expected_trigger_name,
                struct lttng_notification *notification)
 {
@@ -180,7 +181,7 @@ int main(int argc, char **argv)
                                continue;
                        }
                }
-               if (!((action_type == LTTNG_ACTION_TYPE_GROUP &&
+               if (!((action_type == LTTNG_ACTION_TYPE_LIST &&
                                      action_list_contains_notify(action)) ||
                                    action_type == LTTNG_ACTION_TYPE_NOTIFY)) {
                        /* "The action of trigger is not notify, skipping. */
This page took 0.024566 seconds and 4 git commands to generate.