Enforce documented RCU preconditions with assertions
[lttng-tools.git] / src / bin / lttng-sessiond / lttng-syscall.cpp
index 7dae12d9f39ea0c9b7ce1c2a83637ff5feabfdfd..42e902b5e2eccb3c964f8cd033a1d0306fd49d93 100644 (file)
@@ -156,6 +156,8 @@ static void destroy_syscall_ht(struct lttng_ht *ht)
        struct lttng_ht_iter iter;
        struct syscall *ksyscall;
 
+       ASSERT_RCU_READ_LOCKED();
+
        DBG3("Destroying syscall hash table.");
 
        if (!ht) {
This page took 0.024204 seconds and 4 git commands to generate.