Skip to content

perf script python: add Python3 support

Tony Jones linux-perf-users lkml 3 versions – Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesApplied
  2. v27 patches 21 repliesApplied
  3. v115 patches 19 repliesApplied

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4perf script python: add Python3 support to exported-sql-viewer.pytools/perf/scripts/python/exported-sql-viewer.py+28 -140 replies
2/4perf script python: add Python3 support to export-to-postgresql.pytools/perf/scripts/python/export-to-postgresql.py+41 -170 replies
3/4perf script python: add Python3 support to export-to-sqlite.pytools/perf/scripts/python/export-to-sqlite.py+14 -90 replies
4/4perf script python: add printdate function to SQL exporterstools/perf/scripts/python/export-to-postgresql.py tools/perf/scripts/python/export-to-sqlite.py+19 -130 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAdrian Hunter
SeriesA-b
1/4
2/4
3/4
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] perf script python: add Python3 support

This is v3 of my version of the patchset.

The exporter and viewer changes were all in one patch for V2. For V3 I split them into 3 patches for the reasons below.

Patch#1 adds Python3 support to exported-sql-viewer Patch#2 adds Python3 support to export-to-postgresql Patch#3 adds Python3 support to export-to-sqlite Patch#4 cleans up some repeated use of date functions in the code.

I added Adrian's signed-off-by to Patch#2 per the revised patch he sent in his review of V2.

The content of patches 1, 3 and 4 is unchanged from V2 but I'm including all the patches again to hopefully make your application easier. I added Adrian's Acked-by to Patch#4 per his review of that patch in V2.

Once these are applied I believe this is everything needed to run on a system without Python2.

Thanks

Tony