]> 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)
commitd025916fa6190c2d4b89c230666cf2fb4b369374
tree74ae7a03a6b2767c645d38aba8191b451509a81c
parent635bf296df1ac6c4e8f3842c1f9339afecc1ef05
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: f25b3e4c823a ("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