diff options
author | Yafang Shao <laoar.shao@gmail.com> | 2021-09-05 14:35:44 +0000 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-10-05 15:51:49 +0200 |
commit | ed7b564cfdd0668efbd739d0b4e2d67797293f32 (patch) | |
tree | 4c56eeb40a5ca4705ec4e2082d3361ffa3610eaf /crypto/af_alg.c | |
parent | 847fc0cd0664fcb2a08ac66df6b85935361ec454 (diff) |
sched/rt: Support sched_stat_runtime tracepoint for RT sched class
The runtime of a RT task has already been there, so we only need to
add a tracepoint.
One difference between fair task and RT task is that there is no vruntime
in RT task. To reuse the sched_stat_runtime tracepoint, '0' is passed as
vruntime for RT task.
The output of this tracepoint for RT task as follows,
stress-9748 [039] d.h. 113.519352: sched_stat_runtime: comm=stress pid=9748 runtime=997573 [ns] vruntime=0 [ns]
stress-9748 [039] d.h. 113.520352: sched_stat_runtime: comm=stress pid=9748 runtime=997627 [ns] vruntime=0 [ns]
stress-9748 [039] d.h. 113.521352: sched_stat_runtime: comm=stress pid=9748 runtime=998203 [ns] vruntime=0 [ns]
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210905143547.4668-6-laoar.shao@gmail.com
Diffstat (limited to 'crypto/af_alg.c')
0 files changed, 0 insertions, 0 deletions