mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
ftrace, sched: Add TRACE_FLAG_PREEMPT_RESCHED
Since the introduction of PREEMPT_NEED_RESCHED in:
f27dde8dee ("sched: Add NEED_RESCHED to the preempt_count")
we need to be able to look at both TIF_NEED_RESCHED and
PREEMPT_NEED_RESCHED to understand the full preemption behaviour.
Add it to the trace output.
Signed-off-by: Peter Zijlstra <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
Cc: Fengguang Wu <[email protected]>
Cc: Huang Ying <[email protected]>
Cc: Yuanhan Liu <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
7053ea1a34
commit
e5137b50a0
4 changed files with 25 additions and 4 deletions
|
|
@ -655,7 +655,11 @@ explains which is which.
|
|||
read the irq flags variable, an 'X' will always
|
||||
be printed here.
|
||||
|
||||
need-resched: 'N' task need_resched is set, '.' otherwise.
|
||||
need-resched:
|
||||
'N' both TIF_NEED_RESCHED and PREEMPT_NEED_RESCHED is set,
|
||||
'n' only TIF_NEED_RESCHED is set,
|
||||
'p' only PREEMPT_NEED_RESCHED is set,
|
||||
'.' otherwise.
|
||||
|
||||
hardirq/softirq:
|
||||
'H' - hard irq occurred inside a softirq.
|
||||
|
|
|
|||
Loading…
Reference in a new issue