mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 17:11:46 +00:00
sched: remove the SleepAVG field
remove the SleepAVG field from /proc/<pid>/status, as with the removal of the sleep-average code this value no longer makes sense. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
e05606d330
commit
62480d13d5
1 changed files with 0 additions and 2 deletions
|
@ -165,7 +165,6 @@ static inline char * task_state(struct task_struct *p, char *buffer)
|
||||||
rcu_read_lock();
|
rcu_read_lock();
|
||||||
buffer += sprintf(buffer,
|
buffer += sprintf(buffer,
|
||||||
"State:\t%s\n"
|
"State:\t%s\n"
|
||||||
"SleepAVG:\t%lu%%\n"
|
|
||||||
"Tgid:\t%d\n"
|
"Tgid:\t%d\n"
|
||||||
"Pid:\t%d\n"
|
"Pid:\t%d\n"
|
||||||
"PPid:\t%d\n"
|
"PPid:\t%d\n"
|
||||||
|
@ -173,7 +172,6 @@ static inline char * task_state(struct task_struct *p, char *buffer)
|
||||||
"Uid:\t%d\t%d\t%d\t%d\n"
|
"Uid:\t%d\t%d\t%d\t%d\n"
|
||||||
"Gid:\t%d\t%d\t%d\t%d\n",
|
"Gid:\t%d\t%d\t%d\t%d\n",
|
||||||
get_task_state(p),
|
get_task_state(p),
|
||||||
(p->sleep_avg/1024)*100/(1020000000/1024),
|
|
||||||
p->tgid, p->pid,
|
p->tgid, p->pid,
|
||||||
pid_alive(p) ? rcu_dereference(p->real_parent)->tgid : 0,
|
pid_alive(p) ? rcu_dereference(p->real_parent)->tgid : 0,
|
||||||
pid_alive(p) && p->ptrace ? rcu_dereference(p->parent)->pid : 0,
|
pid_alive(p) && p->ptrace ? rcu_dereference(p->parent)->pid : 0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue