]> git.baikalelectronics.ru Git - kernel.git/commit
sched/tracing: Fix trace_sched_switch task-state printing
authorPeter Zijlstra <peterz@infradead.org>
Fri, 22 Sep 2017 16:19:53 +0000 (18:19 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 29 Sep 2017 08:09:10 +0000 (10:09 +0200)
commit79e5615f254b0fd6c1e058fe3cc4534e792f5bb4
treeeb9bd7cbdbfeb486184a68ee36258cac029a92b2
parent4b7d00c43edc2b2c0465f1a36112be80058ca783
sched/tracing: Fix trace_sched_switch task-state printing

Convert trace_sched_switch to use the common task-state helpers and
fix the "X" and "Z" order, possibly they ended up in the wrong order
because TASK_REPORT has them in the wrong order too.

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>
include/linux/sched.h
include/trace/events/sched.h