[PATCH 1/2] sched/debug: show task state on /proc/sched_debug

2017-08-07 Thread Xie XiuQi
Currently, we print the runnable task in /proc/sched_debug, but there is no task state information. We don't know which task is in runqueue, and which task is in sleep. For the convenience of debugging, in this patch, we add task state in runnable task list, like this: runnable tasks: S

[PATCH 1/2] sched/debug: show task state on /proc/sched_debug

2017-08-07 Thread Xie XiuQi
Currently, we print the runnable task in /proc/sched_debug, but there is no task state information. We don't know which task is in runqueue, and which task is in sleep. For the convenience of debugging, in this patch, we add task state in runnable task list, like this: runnable tasks: S