diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2019-05-17 23:22:34 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-05-24 08:41:59 +0200 |
| commit | 978315462d3ea3cf6cfacd34c563ec1eb02a3aa5 (patch) | |
| tree | 8ecfc6fe36029250cca2a7442df360c429876046 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 54dee406374ce8adb352c48e175176247cb8db7c (diff) | |
locking/lockdep: Don't complain about incorrect name for no validate class
It is possible to ignore the validation for a certain lock by using:
lockdep_set_novalidate_class()
on it. Each invocation will assign a new name to the class it created
for created __lockdep_no_validate__. That means that once
lockdep_set_novalidate_class() has been used on two locks then
class->name won't match lock->name for the first lock triggering the
warning.
So ignore changed non-matching ->name pointer for the special
__lockdep_no_validate__ class.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Will Deacon <[email protected]>
Link: http://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