]> git.baikalelectronics.ru Git - kernel.git/commit
sched/debug: Implement consistent task-state printing
authorPeter Zijlstra <peterz@infradead.org>
Fri, 22 Sep 2017 16:09:26 +0000 (18:09 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 29 Sep 2017 08:09:08 +0000 (10:09 +0200)
commitf9c5c9245f48b02bb258f4950098a2faa7cf910b
treef25d6f915062f9c322233c987d30a66260f474bb
parent57cc3a714fa0e66e33689b9df5be98ab6a1a802e
sched/debug: Implement consistent task-state printing

Currently get_task_state() and task_state_to_char() report different
states, create a number of common helpers and unify the reported state
space.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
fs/proc/array.c
include/linux/sched.h