perf scripts python: exported-sql-viewer.py: Fix never-ending loop
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 27 Mar 2019 07:28:25 +0000 (09:28 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 28 Mar 2019 17:41:21 +0000 (14:41 -0300)
commit8453c936db20489dbf0957187dca9a2656a2a7b6
tree913d8bcb5aa23d8c2f36b965ddfcb479636030a7
parent977c7a6d1e263ff1d755f28595b99e4bc0c48a9f
perf scripts python: exported-sql-viewer.py: Fix never-ending loop

pyside version 1 fails to handle python3 large integers in some cases,
resulting in Qt getting into a never-ending loop. This affects:
samples Table
samples_view Table
All branches Report
Selected branches Report

Add workarounds for those cases.

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