# Re: \[PATCH v4 0/8\] sched: support schedstats for RT sched class

- From: Peter Zijlstra \<peterz@infradead.org\>
- Date: 2021-09-10 17:01:18 
- List: linux-rt-users
- Page: https://ratatoskr.run/linux-rt-users/2021/09/1503656
- Thread: https://ratatoskr.run/linux-rt-users/2021/09/1497626/t.md

```text
On Sun, Sep 05, 2021 at 02:35:39PM +0000, Yafang Shao wrote:
> Yafang Shao (8):
>   sched, fair: use __schedstat_set() in set_next_entity()
>   sched: make struct sched_statistics independent of fair sched class
>   sched: make schedstats helpers independent of fair sched class
>   sched: introduce task block time in schedstats
>   sched, rt: support sched_stat_runtime tracepoint for RT sched class
>   sched, rt: support schedstats for RT sched class
>   sched, dl: support sched_stat_runtime tracepoint for deadline sched
>     class
>   sched, dl: support schedstats for deadline sched class
> 
>  include/linux/sched.h    |   8 +-
>  kernel/sched/core.c      |  25 +++---
>  kernel/sched/deadline.c  |  99 +++++++++++++++++++++-
>  kernel/sched/debug.c     |  97 +++++++++++----------
>  kernel/sched/fair.c      | 177 +++++++++++----------------------------
>  kernel/sched/rt.c        | 130 +++++++++++++++++++++++++++-
>  kernel/sched/stats.c     | 104 +++++++++++++++++++++++
>  kernel/sched/stats.h     |  49 +++++++++++
>  kernel/sched/stop_task.c |   4 +-
>  9 files changed, 500 insertions(+), 193 deletions(-)

*sigh*, okay I suppose, let's try this :-)
```
