From 47a1db21f6c5d17c94c58c3fe0dcce35c623dbf4 Mon Sep 17 00:00:00 2001 From: Liwei Song Date: Tue, 23 Jun 2020 04:47:20 +0000 Subject: [PATCH] sleepgraph: add support for RT kernel ftrace flags with PREEMPT_RT enabled in kernel, ftrace have a different flags format: _-----=> irqs-off / _----=> need-resched | / _----=> need-resched || / _---=> hardirq/softirq ||| / _--=> preempt-depth ||||/ delay TASK-PID CPU# ||||| TIMESTAMP FUNCTION | | | ||||| | | add support for this. Upstream-Status: Submitted [https://github.com/intel/pm-graph/pull/18] Signed-off-by: Liwei Song --- sleepgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleepgraph.py b/sleepgraph.py index cfed8e09e0e6..561f165cf9be 100755 --- a/sleepgraph.py +++ b/sleepgraph.py @@ -2689,7 +2689,7 @@ class TestProps: '[ +!#\*@$]*(?P[0-9\.]*) .*\| (?P.*)' ftrace_line_fmt_nop = \ ' *(?P.*)-(?P[0-9]*) *\[(?P[0-9]*)\] *'+\ - '(?P.{4}) *(?P