summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb
diff options
context:
space:
mode:
authorLiweiSong <liwei.song@windriver.com>2021-05-25 13:40:33 +0800
committerKhem Raj <raj.khem@gmail.com>2021-05-28 06:55:33 -0700
commit8edab5f09d9342b562bfaae851625cb2debcb3ef (patch)
tree27de880f7dfc402efdc27b39f75a20a75d20faca /meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb
parentb25ea9cb97a7afbffdf4ed01c195ab602213ed18 (diff)
downloadmeta-openembedded-8edab5f09d9342b562bfaae851625cb2debcb3ef.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb')
-rw-r--r--meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb b/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb
index 4526eeed3..4d7a1b2d4 100644
--- a/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb
+++ b/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb
@@ -10,6 +10,7 @@ SRC_URI = "git://github.com/intel/pm-graph.git \
10 file://0001-Makefile-fix-multilib-build-failure.patch \ 10 file://0001-Makefile-fix-multilib-build-failure.patch \
11 file://0001-sleepgraph.py-use-python3.patch \ 11 file://0001-sleepgraph.py-use-python3.patch \
12 file://0001-sleepgraph-add-support-for-RT-kernel-ftrace-flags.patch \ 12 file://0001-sleepgraph-add-support-for-RT-kernel-ftrace-flags.patch \
13 file://0001-sleepgraph.py-parse-unfished-cpu-exec-line.patch \
13" 14"
14S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
15 16