LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 0/8] Improve Python 3 support in perf
@ 2018-05-08 21:27 Jeremy Cline
  2018-06-28 14:44 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Cline @ 2018-05-08 21:27 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo
  Cc: Alexander Shishkin, Jiri Olsa, Namhyung Kim,
	Herton R . Krzesinski, linux-perf-users, linux-kernel,
	Jeremy Cline

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 0/8] Improve Python 3 support in perf
  2018-05-08 21:27 [PATCH 0/8] Improve Python 3 support in perf Jeremy Cline
@ 2018-06-28 14:44 ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2018-06-28 14:44 UTC (permalink / raw)
  To: Jeremy Cline
  Cc: Peter Zijlstra, Ingo Molnar, Alexander Shishkin, Jiri Olsa,
	Namhyung Kim, Herton R . Krzesinski, linux-perf-users,
	linux-kernel

Em Tue, May 08, 2018 at 09:27:42PM +0000, Jeremy Cline escreveu:
> 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.

Argh, this fell thru the cracks, sorry, all seems ok, applied,

- Arnaldo
 
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-28 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-08 21:27 [PATCH 0/8] Improve Python 3 support in perf Jeremy Cline
2018-06-28 14:44 ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).