diff options
author | Paul E. McKenney <[email protected]> | 2024-07-01 13:33:58 -0700 |
---|---|---|
committer | Neeraj Upadhyay <[email protected]> | 2024-08-15 00:05:39 +0530 |
commit | ac9d45544cd571decca395715d0b0a3b617d02f4 (patch) | |
tree | 6d655737023d0034472741592d5759db35414266 /tools/perf/scripts/python/sctop.py | |
parent | c1972c8dc987769eac8e5dede536d3cff489c6ee (diff) |
locking/csd_lock: Provide an indication of ongoing CSD-lock stall
If a CSD-lock stall goes on long enough, it will cause an RCU CPU
stall warning. This additional warning provides much additional
console-log traffic and little additional information. Therefore,
provide a new csd_lock_is_stuck() function that returns true if there
is an ongoing CSD-lock stall. This function will be used by the RCU
CPU stall warnings to provide a one-line indication of the stall when
this function returns true.
[ neeraj.upadhyay: Apply Rik van Riel feedback. ]
[ neeraj.upadhyay: Apply kernel test robot feedback. ]
Signed-off-by: Paul E. McKenney <[email protected]>
Cc: Imran Khan <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Leonardo Bras <[email protected]>
Cc: "Peter Zijlstra (Intel)" <[email protected]>
Cc: Rik van Riel <[email protected]>
Signed-off-by: Neeraj Upadhyay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions