Linux 2.5.xx /proc/*/wchan

This commit is contained in:
albert
2002-12-12 21:58:12 +00:00
parent 78d2adaa15
commit 8a745812cf
5 changed files with 74 additions and 18 deletions

2
top.c
View File

@@ -3019,7 +3019,7 @@ static void task_show (const WIN_t *q, const proc_t *p)
#endif
MKCOL((long)p->wchan);
} else {
MKCOL(wchan(p->wchan));
MKCOL(wchan(p->wchan, p->pid));
}
break;