summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJules Irenge <jbi.octave@gmail.com>2020-01-20 22:42:15 +0000
committerPaul E. McKenney <paulmck@kernel.org>2020-02-20 15:58:23 -0800
commit9ced454807191e44ef093aeeee68194be9ce3a1a (patch)
tree49ecc05bef0a96ffa6cb0dba8fa331faaa28f6eb /tools/perf/scripts/python/export-to-sqlite.py
parent5648d6591230c811972543ff146ce969babdd732 (diff)
rcu: Add missing annotation for rcu_nocb_bypass_lock()
Sparse reports warning at rcu_nocb_bypass_lock() |warning: context imbalance in rcu_nocb_bypass_lock() - wrong count at exit To fix this, this commit adds an __acquires(&rdp->nocb_bypass_lock). Given that rcu_nocb_bypass_lock() does actually call raw_spin_lock() when raw_spin_trylock() fails, this not only fixes the warning but also improves on the readability of the code. Signed-off-by: Jules Irenge <jbi.octave@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions