forked from luck/tmp_suning_uos_patched
sched: Update task_state_arraypwith new states
Neglected because its hidden... (who reads comments anyway) Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <20091217121829.970166036@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
44d90df6b7
commit
464763cf1c
@ -138,9 +138,12 @@ static const char *task_state_array[] = {
|
|||||||
"S (sleeping)", /* 1 */
|
"S (sleeping)", /* 1 */
|
||||||
"D (disk sleep)", /* 2 */
|
"D (disk sleep)", /* 2 */
|
||||||
"T (stopped)", /* 4 */
|
"T (stopped)", /* 4 */
|
||||||
"T (tracing stop)", /* 8 */
|
"t (tracing stop)", /* 8 */
|
||||||
"Z (zombie)", /* 16 */
|
"Z (zombie)", /* 16 */
|
||||||
"X (dead)" /* 32 */
|
"X (dead)", /* 32 */
|
||||||
|
"x (dead)", /* 64 */
|
||||||
|
"K (wakekill)", /* 128 */
|
||||||
|
"W (waking)", /* 256 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline const char *get_task_state(struct task_struct *tsk)
|
static inline const char *get_task_state(struct task_struct *tsk)
|
||||||
|
Loading…
Reference in New Issue
Block a user