]> 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)
commit5f6ca1adfde1285b76d7b25583fe88de2fc92f5e
treea2218c8ccbfb56bfa2ca51799da573bf84f25fc1
parentb230b8e6f7885cd3bd35b1d133b133aa415b1e2b
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