rue/scx: make proc sched show scx vtime

Add dsq_vtime to /proc/{pid}/sched.

Signed-off-by: Hongbo Li <herberthbli@tencent.com>
This commit is contained in:
Hongbo Li 2024-04-07 11:24:09 +08:00
parent 59c58fade2
commit bdb6dfeebe
1 changed files with 2 additions and 1 deletions

View File

@ -1094,7 +1094,8 @@ void proc_sched_show_task(struct task_struct *p, struct pid_namespace *ns,
P(dl.deadline);
}
#ifdef CONFIG_SCHED_CLASS_EXT
__PS("ext.enabled", task_on_scx(p));
__PS("scx.enabled", task_on_scx(p));
PN(scx.dsq_vtime);
#endif
#undef PN_SCHEDSTAT
#undef P_SCHEDSTAT