diff options
author | Byungchul Park <[email protected]> | 2017-08-07 16:12:51 +0900 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-08-10 12:29:06 +0200 |
commit | ce07a9415f266e181a0a33033a5f7138760240a4 (patch) | |
tree | 29cb6ed4f40bd89847c0884c2178766704a68fdc /tools/perf/scripts/python/check-perf-trace.py | |
parent | 70911fdc9576f4eeb3986689a1c9a778a4a4aacb (diff) |
locking/lockdep: Make check_prev_add() able to handle external stack_trace
Currently, a space for stack_trace is pinned in check_prev_add(), that
makes us not able to use external stack_trace. The simplest way to
achieve it is to pass an external stack_trace as an argument.
A more suitable solution is to pass a callback additionally along with
a stack_trace so that callers can decide the way to save or whether to
save. Actually crossrelease needs to do other than saving a stack_trace.
So pass a stack_trace and callback to handle it, to check_prev_add().
Signed-off-by: Byungchul Park <[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]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions