sched/debug: Rename task-state printing helpers
commit1d48b080bcce0a5e7d7aa2dbcdb35deefc188c3f
authorPeter Zijlstra <peterz@infradead.org>
Fri, 29 Sep 2017 11:50:16 +0000 (29 13:50 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 10 Oct 2017 09:43:29 +0000 (10 11:43 +0200)
treeec8bd3ac149a0eb435c6883d7fda02482e7bce3c
parent62cb1188ed86a9cf082fd2f757d4dd9b54741f24
sched/debug: Rename task-state printing helpers

Steve requested better names for the new task-state helper functions.

So introduce the concept of task-state index for the printing and
rename __get_task_state() to task_state_index() and
__task_state_to_char() to task_index_to_char().

Requested-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170929115016.pzlqc7ss3ccystyg@hirez.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
fs/proc/array.c
include/linux/sched.h
include/trace/events/sched.h
kernel/trace/trace_output.c
kernel/trace/trace_sched_wakeup.c