aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2024-08-12 12:39:02 +0200
committerThomas Gleixner <[email protected]>2024-10-24 11:27:01 +0200
commit52e0874fc16bd26e9ea1871e30ffb2c6dff187cf (patch)
tree8443ea0757a21194752d396e3401b8d88b96de0f /tools/perf/scripts/python/parallel-perf.py
parent2628cbd03924b91a360f72117a9b9c78cfd050e7 (diff)
locking/rt: Add sparse annotation PREEMPT_RT's sleeping locks.
The sleeping locks on PREEMPT_RT (rt_spin_lock() and friends) lack sparse annotation. Therefore a missing spin_unlock() won't be spotted by sparse in a PREEMPT_RT build while it is noticed on a !PREEMPT_RT build. Add the __acquires/__releases macros to the lock/ unlock functions. The trylock functions already use the __cond_lock() wrapper. Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions