mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
pm-graph: parse separated cpu exec line
if cpu exec line was split into different line, there will be an error
when parse it:
File "/usr/bin/sleepgraph", line 3165, in parseTraceLog
proclist[name] = int(val[1])
IndexError: list index out of range
check this case and append to parse the unfinished line.
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -10,6 +10,7 @@ SRC_URI = "git://github.com/intel/pm-graph.git \
|
||||
file://0001-Makefile-fix-multilib-build-failure.patch \
|
||||
file://0001-sleepgraph.py-use-python3.patch \
|
||||
file://0001-sleepgraph-add-support-for-RT-kernel-ftrace-flags.patch \
|
||||
file://0001-sleepgraph.py-parse-unfished-cpu-exec-line.patch \
|
||||
"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user