diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2024-03-16 10:10:15 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2024-06-04 03:24:58 +0300 |
commit | 32d99593bdc91442fe6183d97b060210cc9c8193 (patch) | |
tree | bc3a9c7b94c2ed2a8094ae3065bdc665c3af3b7c /tools/perf/scripts/python/stackcollapse.py | |
parent | 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff) | |
download | linux-32d99593bdc91442fe6183d97b060210cc9c8193.tar.xz |
rcu: Add lockdep_assert_in_rcu_read_lock() and friends
There is no direct RCU counterpart to lockdep_assert_irqs_disabled()
and friends. Although it is possible to construct them, it would
be more convenient to have the following lockdep assertions:
lockdep_assert_in_rcu_read_lock()
lockdep_assert_in_rcu_read_lock_bh()
lockdep_assert_in_rcu_read_lock_sched()
lockdep_assert_in_rcu_reader()
This commit therefore creates them.
Reported-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions