perf scripts python: exported-sql-viewer.py: Fix python3 support
authorAdrian Hunter <[email protected]>
Wed, 27 Mar 2019 07:28:26 +0000 (09:28 +0200)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 28 Mar 2019 18:53:16 +0000 (15:53 -0300)
commit606bd60ab6fbcb7f73deeef4fa37cfd5e447a200
tree74ae7a03a6b2767c645d38aba8191b451509a81c
parent8453c936db20489dbf0957187dca9a2656a2a7b6
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 <[email protected]>
Cc: Jiri Olsa <[email protected]>
Fixes: beda0e725e5f ("perf script python: Add Python3 support to exported-sql-viewer.py")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/scripts/python/exported-sql-viewer.py