aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorWaiman Long <[email protected]>2021-03-18 13:28:13 -0400
committerIngo Molnar <[email protected]>2021-03-19 12:13:10 +0100
commitaa3a5f31877e5dc131cc286ce707413d441c8375 (patch)
tree080a428513ea19f63fd915a5edd45c6766609d8e /scripts/gdb/linux/timerlist.py
parent5261ced47f8e89173c3b015f6152a05f11a418c3 (diff)
locking/locktorture: Pass thread id to lock/unlock functions
To allow the lock and unlock functions in locktorture to access per-thread information, we need to pass some hint on how to locate those information. One way to do this is to pass in a unique thread id which can then be used to access a global array for thread specific information. Change the lock and unlock method to add a thread id parameter which can be determined by the offset of the lwsp/lrsp pointer from the global lwsa/lrsa array. There is no other functional change in this patch. Signed-off-by: Waiman Long <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions