Enforce documented RCU preconditions with assertions
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Mon, 27 Sep 2021 14:56:28 +0000 (10:56 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 28 Jan 2022 22:26:58 +0000 (17:26 -0500)
commit48b7cdc221a445188d6d9bd08fc1686837e71224
tree8fd5ed6e7da03dca9afb3be24b0dd18123736018
parent3c3390532736cfb5198f863d0d2b218e21fcf76d
Enforce documented RCU preconditions with assertions

Mindlessly add `rcu_read_ongoing()` assertions to functions that are
documented as "must be called" within a RCU critical section.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I25f9903938123394e6960ab2a338be6abaf2fe72
18 files changed:
src/bin/lttng-relayd/ctf-trace.cpp
src/bin/lttng-relayd/index.cpp
src/bin/lttng-relayd/stream.cpp
src/bin/lttng-sessiond/action-executor.cpp
src/bin/lttng-sessiond/agent.cpp
src/bin/lttng-sessiond/buffer-registry.cpp
src/bin/lttng-sessiond/client.cpp
src/bin/lttng-sessiond/consumer.cpp
src/bin/lttng-sessiond/lttng-syscall.cpp
src/bin/lttng-sessiond/notification-thread-events.cpp
src/bin/lttng-sessiond/session.cpp
src/bin/lttng-sessiond/snapshot.cpp
src/bin/lttng-sessiond/trace-ust.cpp
src/bin/lttng-sessiond/ust-app.cpp
src/bin/lttng-sessiond/ust-registry.cpp
src/common/consumer/consumer.cpp
src/common/macros.h
src/common/ust-consumer/ust-consumer.cpp
This page took 0.02868 seconds and 4 git commands to generate.