diff options
author | 2023-05-17 05:01:28 -0700 | |
---|---|---|
committer | 2023-07-14 15:01:49 -0700 | |
commit | 5f8e3202696f5e94d3fc54cfed75d270ae843ee9 (patch) | |
tree | a902e3236e84fa24cc07c15b26196d4635adbf58 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rcuscale: Print out full set of kfree_rcu parameters (diff) | |
download | wireguard-linux-5f8e3202696f5e94d3fc54cfed75d270ae843ee9.tar.xz wireguard-linux-5f8e3202696f5e94d3fc54cfed75d270ae843ee9.zip |
rcuscale: Measure grace-period kthread CPU time
This commit adds the ability to output the CPU time consumed by the
grace-period kthread for the RCU variant under test. 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 feedback from Stephen Rothwell and kernel test robot. ]
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Tested-by: Yujie Liu <yujie.liu@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions