projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enforce documented RCU preconditions with assertions
[deliverable/lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
action-executor.cpp
diff --git
a/src/bin/lttng-sessiond/action-executor.cpp
b/src/bin/lttng-sessiond/action-executor.cpp
index 032ac11a08de74d0f0657b67086e2bfc7afc99c4..68c9c71cfed5fdebbeb54eb0c400ac02fa84f7c7 100644
(file)
--- a/
src/bin/lttng-sessiond/action-executor.cpp
+++ b/
src/bin/lttng-sessiond/action-executor.cpp
@@
-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.038128 seconds
and
5
git commands to generate.