Add rcu_read_ongoing() assertions around process_client_msg
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 7 Sep 2015 14:36:08 +0000 (10:36 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Sep 2015 12:21:30 +0000 (08:21 -0400)
commit3745d31545c667ea0e5151fc2a2b0b90f59c1a2d
tree198c361e2326a2f901789f002b6f86ffab0f3c6b
parentb9866e086ad21be6f73c678e7c3548c8fdafeef5
Add rcu_read_ongoing() assertions around process_client_msg

process_client_msg ensures that RCU read-side lock should not be held
when calling it. Validate this using rcu_read_ongoing() at the entry and
exit points of this function. This allows us to catch unbalanced RCU
read-side lock within commands quickly.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/main.c
This page took 0.025823 seconds and 5 git commands to generate.