diff options
| author | Peter Zijlstra <[email protected]> | 2021-08-02 18:59:56 +0800 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2021-08-05 12:08:15 +0200 |
| commit | d19c81378829e5d774c951219c5a973965b9202c (patch) | |
| tree | b4288cd2d82416fb1dc82e55e1f138d2d5e275bb /tools/perf/scripts/python/flamegraph.py | |
| parent | 5a04227326b04c15b015181772f5c853172fdb68 (diff) | |
locking/lockdep: Provide lockdep_assert{,_once}() helpers
Extract lockdep_assert{,_once}() helpers to more easily write composite
assertions like, for example:
lockdep_assert(lockdep_is_held(&drm_device.master_mutex) ||
lockdep_is_held(&drm_file.master_lookup_lock));
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Desmond Cheong Zhi Xi <[email protected]>
Acked-by: Boqun Feng <[email protected]>
Acked-by: Waiman Long <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions