From: Mathieu Desnoyers Date: Mon, 7 Sep 2015 14:36:08 +0000 (-0400) Subject: Add rcu_read_ongoing() assertions around process_client_msg X-Git-Tag: v2.8.0-rc1~364 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=3745d31545c667ea0e5151fc2a2b0b90f59c1a2d;hp=3745d31545c667ea0e5151fc2a2b0b90f59c1a2d;p=lttng-tools.git 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 Signed-off-by: Jérémie Galarneau ---