]> git.baikalelectronics.ru Git - kernel.git/commit
perf scripts python: exported-sql-viewer.py: Fix python3 support
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 27 Mar 2019 07:28:26 +0000 (09:28 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 28 Mar 2019 18:53:16 +0000 (15:53 -0300)
commit32546741c83b488c973db6739f257ce0144ed412
tree74ae7a03a6b2767c645d38aba8191b451509a81c
parent16b7497a4eff1179fcda9e40503614f8e08d5866
perf scripts python: exported-sql-viewer.py: Fix python3 support

Unlike python2, python3 strings are not compatible with byte strings.
That results in disassembly not working for the branches reports. Fixup
those places overlooked in the port to python3.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Fixes: 4bd2526357e0 ("perf script python: Add Python3 support to exported-sql-viewer.py")
Link: http://lkml.kernel.org/r/20190327072826.19168-3-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/exported-sql-viewer.py