]> git.baikalelectronics.ru Git - kernel.git/commit
perf script python: add Python3 support to check-perf-trace.py
authorTony Jones <tonyj@suse.de>
Sat, 2 Mar 2019 01:18:59 +0000 (17:18 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Mar 2019 21:10:46 +0000 (18:10 -0300)
commit60d1a71e8ae73ca7755e786d564bf40e9954fa26
treea2218c8ccbfb56bfa2ca51799da573bf84f25fc1
parent01efcb21f34f38841e5604f924bacbbfa9b345b0
perf script python: add Python3 support to check-perf-trace.py

Support both Python 2 and Python 3 in the check-perf-trace.py script.

There may be differences in the ordering of output lines due to
differences in dictionary ordering etc.  However the format within lines
should be unchanged.

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

Signed-off-by: Tony Jones <tonyj@suse.de>
Cc: Tom Zanussi <tzanussi@gmail.com>
Link: http://lkml.kernel.org/r/20190302011903.2416-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/check-perf-trace.py