summaryrefslogtreecommitdiff
path: root/Documentation/RCU
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2024-05-08 21:43:56 -0700
committerPaul E. McKenney <paulmck@kernel.org>2024-06-06 11:44:42 -0700
commit0ac55d095d375e84fcdac5e51011613734e57854 (patch)
treebf5c056e143ea5215345184579007d36ce4cd71d /Documentation/RCU
parentb9f147cdc2c0bf54ca2c25ed185806f1fc6da65f (diff)
downloadlinux-0ac55d095d375e84fcdac5e51011613734e57854.tar.gz
linux-0ac55d095d375e84fcdac5e51011613734e57854.tar.bz2
linux-0ac55d095d375e84fcdac5e51011613734e57854.zip
tools/rcu: Add rcu-updaters.sh script
This commit adds a tools/rcu/rcu-updaters.sh script that uses bpftrace to print a histogram of the RCU update-side primitives invoked during the specified time interval, or until manually terminated if no interval is 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]: 2134 Note that when run on a kernel missing one or more of the symbols, this script will issue a diagnostic for each that is not found, but continue normally for the rest of the functions. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'Documentation/RCU')
0 files changed, 0 insertions, 0 deletions