perf script python: Add Python3 support to exported-sql-viewer.py
authorTony Jones <tonyj@suse.de>
Sat, 9 Mar 2019 00:05:15 +0000 (16:05 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Mar 2019 19:12:52 +0000 (16:12 -0300)
commitbeda0e725e5f06aca27eda2434ea9447dad88e36
treee107aecf1175bbac31fdb3915333eaca10427308
parent75065a85a9705ad4c0135f07fd4467d46ff342a3
perf script python: Add Python3 support to exported-sql-viewer.py

Support both Python2 and Python3 in the exported-sql-viewer.py script.

The use of 'from __future__' implies the minimum supported Python2 version
is now v2.6

Signed-off-by: Tony Jones <tonyj@suse.de>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: http://lkml.kernel.org/r/20190309000518.2438-2-tonyj@suse.de
Signed-off-by: Seeteena Thoufeek <s1seetee@linux.vnet.ibm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/exported-sql-viewer.py