lkml.org 
[lkml]   [2018]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/8] Improve Python 3 support in perf
Date
Hi folks,

This patch set adds Python 3 support to a number of perf scripts,
including those generated by "perf script -g python", without breaking
Python 2 compatibility.

Jeremy Cline (8):
perf tools: Generate a Python script compatible with Python 2 and 3
perf scripts python: Add Python 3 support to Core.py
perf scripts python: Add Python 3 support to SchedGui.py
perf scripts python: Add Python 3 support to Util.py
perf scripts python: Add Python 3 support to EventClass.py
perf scripts python: Add Python 3 support to sched-migration.py
perf scripts python: Add Python 3 support to stat-cpi.py
perf tests: Add Python 3 support to attr.py

.../Perf-Trace-Util/lib/Perf/Trace/Core.py | 40 ++++++++-----------
.../lib/Perf/Trace/EventClass.py | 4 +-
.../lib/Perf/Trace/SchedGui.py | 2 +-
.../Perf-Trace-Util/lib/Perf/Trace/Util.py | 11 ++---
tools/perf/scripts/python/sched-migration.py | 14 ++++---
tools/perf/scripts/python/stat-cpi.py | 5 ++-
tools/perf/tests/attr.py | 32 +++++++++------
.../scripting-engines/trace-event-python.c | 29 +++++++-------
8 files changed, 74 insertions(+), 63 deletions(-)

--
2.17.0

\
 
 \ /
  Last update: 2018-05-08 23:29    [W:0.159 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site