diff options
author | Leo Yan <leo.yan@linaro.org> | 2015-12-25 22:40:31 +0800 |
---|---|---|
committer | Javi Merino <javi.merino@arm.com> | 2015-12-27 17:16:19 +0100 |
commit | 8da87510391505576e2b19331f236eab06844316 (patch) | |
tree | 476439140640a41690f0e318608f5e3d3053b0a1 /tests/test_duplicates.py | |
parent | 8f66a45ebed8fbb9f9ed5e8ffb47f028f29533c5 (diff) | |
download | trappy-8da87510391505576e2b19331f236eab06844316.tar.gz |
ftrace: fix error with only one actor
When system has only one actor and call method trappy.summary_plots, it
will report failure "zip argument #1 must support iteration".
This failure is cause by parsing allfreqs plots. Python always pass by
value, so when there have only one actor the axis will pass by value and
it's not a array type anymore. So finally zip will report it cannot
support iteration. So in this case convert axis to array type.
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Diffstat (limited to 'tests/test_duplicates.py')
0 files changed, 0 insertions, 0 deletions