tools/rcu: Remove RCU Tasks Rude asynchronous APIs from rcu-updaters.shThe call_rcu_tasks_rude() and rcu_barrier_tasks_rude() APIs are no longer.This commit therefore removes them from the rcu-upd
tools/rcu: Remove RCU Tasks Rude asynchronous APIs from rcu-updaters.shThe call_rcu_tasks_rude() and rcu_barrier_tasks_rude() APIs are no longer.This commit therefore removes them from the rcu-updaters.sh script.Signed-off-by: Paul E. McKenney <[email protected]>Signed-off-by: Neeraj Upadhyay <[email protected]>
show more ...
tools/rcu: Add rcu-updaters.sh scriptThis commit adds a tools/rcu/rcu-updaters.sh script that uses bpftraceto print a histogram of the RCU update-side primitives invoked duringthe specified time
tools/rcu: Add rcu-updaters.sh scriptThis commit adds a tools/rcu/rcu-updaters.sh script that uses bpftraceto print a histogram of the RCU update-side primitives invoked duringthe specified time interval, or until manually terminated if no intervalis specified.Sample output on an idle laptop:@counts[poll_state_synchronize_rcu]: 6@counts[synchronize_srcu]: 13@counts[call_rcu_tasks_trace]: 25@counts[synchronize_rcu]: 54@counts[kvfree_call_rcu]: 428@counts[call_rcu]: 2134Note that when run on a kernel missing one or more of the symbols, thisscript will issue a diagnostic for each that is not found, but continuenormally for the rest of the functions.Signed-off-by: Paul E. McKenney <[email protected]>
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 <[email protected]>Signed-off-by: Paul E. McKenney <[email protected]>Signed-off-by: Boqun Feng <[email protected]>
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 <[email protected]>
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 <[email protected]>Signed-off-by: Paul E. McKenney <[email protected]>