diff options
| author | Yuyang Du <[email protected]> | 2019-05-06 16:19:38 +0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-06-03 11:55:52 +0200 |
| commit | 4d56330df22dd9dd9a24f147014f60ee4c914fb8 (patch) | |
| tree | 6352eba54513bc080ac92046dec3274d9b410f3a /tools/perf/scripts/python/stackcollapse.py | |
| parent | 091806515124b20f8cff7927b4b7ff399483b109 (diff) | |
locking/lockdep: Adjust new bit cases in mark_lock
The new bit can be any possible lock usage except it is garbage, so the
cases in switch can be made simpler. Warn early on if wrong usage bit is
passed without taking locks. No functional change.
Signed-off-by: Yuyang Du <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions