aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorJeremy Cline <jeremy@jcline.org>2018-05-08 21:27:46 +0000
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-07-11 10:01:50 -0300
commitc45b168effb12719f6dfc8d2c20ba8c057e8c16b (patch)
treedb0433366c22c6d60b5c8b6200705fedfefaaf67 /tools/perf/scripts/python/sched-migration.py
parentperf scripts python: Add Python 3 support to SchedGui.py (diff)
downloadlinux-dev-c45b168effb12719f6dfc8d2c20ba8c057e8c16b.tar.xz
linux-dev-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 <jeremy@jcline.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Herton Krzesinski <herton@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/0100016341a730c6-8db8b9b1-da2d-4ee3-96bf-47e0ae9796bd-000000@email.amazonses.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions