Enforce documented RCU preconditions with assertions
[lttng-tools.git] / src / bin / lttng-sessiond / action-executor.cpp
index 032ac11a08de74d0f0657b67086e2bfc7afc99c4..68c9c71cfed5fdebbeb54eb0c400ac02fa84f7c7 100644 (file)
@@ -872,6 +872,7 @@ enum action_executor_status action_executor_enqueue_trigger(
        bool signal = false;
 
        LTTNG_ASSERT(trigger);
+       ASSERT_RCU_READ_LOCKED();
 
        pthread_mutex_lock(&executor->work.lock);
        /* Check for queue overflow. */
This page took 0.023911 seconds and 4 git commands to generate.