diff options
author | Frederic Weisbecker <[email protected]> | 2018-12-28 06:02:01 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-01-21 11:18:56 +0100 |
commit | bba2a8f1f974a45ca6ceaf688b2be7bc1c418a2f (patch) | |
tree | 9bcda273e51cdf6a4cab3e111bf9065722f4cacb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 436a49ae7b693161c4fdf98b575ef16243dc2dfa (diff) |
locking/lockdep: Provide enum lock_usage_bit mask names
It makes the code more self-explanatory and tells throughout the code
what magic number refers to:
- state (Hardirq/Softirq)
- direction (used in or enabled above state)
- read or write
We can even remove some comments that were compensating for the lack of
those constant names.
Signed-off-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Will Deacon <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions