sched: remove sleepavg from proc
PATCH 2/7 sched: remove sleepavg from proc
From: Con Kolivas <[email protected]>
Remove the sleep_avg field from proc output as it will be removed from the task_struct.
Signed-off-by Con Kolivas <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Nick Piggin <[email protected]>
Cc "Siddha, Suresh B" <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
fs/proc/array.c | 2 -- 1 file changed, 2 deletions(-)
fs/proc/array.c +0 -2
@@ -171,7 +171,6 @@ static inline char * task_state(struct t buffer +=sprintf (buffer,"State:\t%s\n" -"SleepAVG:\t%lu%%\n" "Tgid:\t%d\n" "Pid:\t%d\n" "PPid:\t%d\n"
@@ -179,7 +178,6 @@ static inline char * task_state(struct t"Uid:\t%d\t%d\t%d\t%d\n" "Gid:\t%d\t%d\t%d\t%d\n" ,get_task_state (p), - (p->sleep_avg/1024 )*100 /(1020000000 /1024 ), p->tgid, p->pid,pid_alive (p) ?rcu_dereference (p->parent)->tgid :0 , tracer_pid,
Signature · 1 line
-ck