tools: rcu: Add usage function and check for argumentThis commit converts extract-stall.sh script's header comment to ausage() function, and adds an argument check. While in the area, makethis s
tools: rcu: Add usage function and check for argumentThis commit converts extract-stall.sh script's header comment to ausage() function, and adds an argument check. While in the area, makethis script be executable.[ paulmck: Strength argument check, remove extraneous comment. ]Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>Signed-off-by: Paul E. McKenney <paulmck@kernel.org>Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
show more ...
tools/rcu: Add an extract-stall scriptThis commit adds a script that extracts RCU CPU stall warningsfrom console output. The user can optionally specify the number oflines preceding the stall to
tools/rcu: Add an extract-stall scriptThis commit adds a script that extracts RCU CPU stall warningsfrom console output. The user can optionally specify the number oflines preceding the stall to output, and also the number of lines ofstall-warning text.Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/rcu: Add drgn script to dump number of RCU callbacksThis commit adds an rcu-cbs.py drgn script that computes the number ofRCU callbacks waiting to be invoked. This information can be helpfu
tools/rcu: Add drgn script to dump number of RCU callbacksThis commit adds an rcu-cbs.py drgn script that computes the number ofRCU callbacks waiting to be invoked. This information can be helpfulwhen managing systems that are short of memory and that have softwarecomponents that make heavy use of RCU, for example, by opening andclosing files in tight loops. (But please note that there are almostalways better ways to get your job done than by opening and closingfiles in tight loops.)Reported-by: Richard Weinberger <richard@nod.at>Signed-off-by: Paul E. McKenney <paulmck@kernel.org>