Commit 606bd60
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: beda0e7 ("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>1 parent 8453c93 commit 606bd60
1 file changed
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2908 | 2908 | | |
2909 | 2909 | | |
2910 | 2910 | | |
| 2911 | + | |
| 2912 | + | |
| 2913 | + | |
| 2914 | + | |
2911 | 2915 | | |
2912 | 2916 | | |
2913 | | - | |
| 2917 | + | |
2914 | 2918 | | |
2915 | 2919 | | |
2916 | 2920 | | |
| |||
2926 | 2930 | | |
2927 | 2931 | | |
2928 | 2932 | | |
2929 | | - | |
2930 | | - | |
2931 | | - | |
| 2933 | + | |
| 2934 | + | |
| 2935 | + | |
| 2936 | + | |
| 2937 | + | |
| 2938 | + | |
| 2939 | + | |
| 2940 | + | |
2932 | 2941 | | |
2933 | 2942 | | |
2934 | 2943 | | |
| |||
0 commit comments