perf script python: Add Python3 support to export-to-sqlite.py
authorTony Jones <tonyj@suse.de>
Sat, 9 Mar 2019 00:05:17 +0000 (16:05 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Mar 2019 19:12:59 +0000 (16:12 -0300)
commitebf6c5c181abe9309788c6241d39602a1ce18723
treea24d4087ffcc875d251be75c4f7bb70ac8c0d158
parent1937b0560c3ea43b1b0f7d3617949ca50de8f8c0
perf script python: Add Python3 support to export-to-sqlite.py

Support both Python2 and Python3 in the export-to-sqlite.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-4-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/export-to-sqlite.py