Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58277
b: refs/heads/master
c: 62480d1
h: refs/heads/master
i:
  58275: bd832fc
v: v3
  • Loading branch information
Ingo Molnar committed Jul 9, 2007
1 parent ebbbda2 commit 415a746
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e05606d3301525aa67b081ad9fccade2b31ab35a
refs/heads/master: 62480d13d5d1812176e969a47e2db78a5398d02e
2 changes: 0 additions & 2 deletions trunk/fs/proc/array.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,13 @@ static inline char * task_state(struct task_struct *p, char *buffer)
rcu_read_lock();
buffer += sprintf(buffer,
"State:\t%s\n"
"SleepAVG:\t%lu%%\n"
"Tgid:\t%d\n"
"Pid:\t%d\n"
"PPid:\t%d\n"
"TracerPid:\t%d\n"
"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->real_parent)->tgid : 0,
pid_alive(p) && p->ptrace ? rcu_dereference(p->parent)->pid : 0,
Expand Down

0 comments on commit 415a746

Please sign in to comment.