Skip to content
Commit 271a8467 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcuscale: Measure RCU Tasks Trace grace-period kthread CPU time



This commit causes RCU Tasks Trace to output the CPU time consumed by
its grace-period kthread.  The CPU time is whatever is in the designated
task's current->stime field, and thus is controlled by whatever CPU-time
accounting scheme is in effect.

This output appears in microseconds as follows on the console:

rcu_scale: Grace-period kthread CPU time: 42367.037

[ paulmck: Apply Willy Tarreau feedback. ]

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 1d702e2e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment