]> 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)
commit56fc8c129e3aaeff922789b8e96a901b09f63f9a
treeeb9bd7cbdbfeb486184a68ee36258cac029a92b2
parentc944958364863140bf2b56caa340916ceb5a33cc
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