diff options
| author | Jeremy Cline <[email protected]> | 2018-05-08 21:27:46 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-07-11 13:01:50 +0000 |
| commit | c45b168effb12719f6dfc8d2c20ba8c057e8c16b (patch) | |
| tree | db0433366c22c6d60b5c8b6200705fedfefaaf67 /tools/perf/scripts/python/sched-migration.py | |
| parent | perf scripts python: Add Python 3 support to SchedGui.py (diff) | |
| download | kernel-c45b168effb12719f6dfc8d2c20ba8c057e8c16b.tar.gz kernel-c45b168effb12719f6dfc8d2c20ba8c057e8c16b.zip | |
perf scripts python: Add Python 3 support to Util.py
Support both Python 2 and Python 3 in Util.py. The dict class no longer
has a ``has_key`` method and print is now a function rather than a
statement. This should have no functional change.
Signed-off-by: Jeremy Cline <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Herton Krzesinski <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/0100016341a730c6-8db8b9b1-da2d-4ee3-96bf-47e0ae9796bd-000000@email.amazonses.com
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
