aboutsummaryrefslogtreecommitdiff
path: root/tools/rcu
AgeCommit message (Collapse)Author
2021-09-16tools/rcu: Add an extract-stall scriptPaul E. McKenney
This commit adds a script that extracts RCU CPU stall warnings from console output. The user can optionally specify the number of lines preceding the stall to output, and also the number of lines of stall-warning text. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2021-05-10tools/rcu: Add drgn script to dump number of RCU callbacksPaul E. McKenney
This commit adds an rcu-cbs.py drgn script that computes the number of RCU callbacks waiting to be invoked. This information can be helpful when managing systems that are short of memory and that have software components that make heavy use of RCU, for example, by opening and closing files in tight loops. (But please note that there are almost always better ways to get your job done than by opening and closing files in tight loops.) Reported-by: Richard Weinberger <richard@nod.at> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>