lkml.org 
[lkml]   [2019]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 0/7] perf script python: add Python3 support
From
Date
On 2/03/19 3:18 AM, Tony Jones wrote:
> This is v2 of my version of the patchset. Incorporating the
> previous feedback. Some changes from v1 were already merged.
>
> Patch 1/7 deals with the existing inconsistent indentation.
> Indentation is now consistent per file but varying styles (tabs,
> 4 spaces and 8 spaces).
> I will followup at a later date with changes to checkpatch to ensure
> that the syntax per file is maintained.
>
> Patches 2/7 through 5/7 were sent in v1, they have been changed
> to remove the previous indentation changes
>
> Patch 6/7 was sent in v1. I had previously *not* been able to test
> export-to-postgresql.py. I was able to do so this time and found
> that more changes were needed. The author of the original code
> seems concerned about code-style so I would suggest you only merge
> with his explicit ACK.
>
> Patch 7/7 was not in v1, it cleans up some repeated use of date
> functions in the SQL exporters. It is not mandatory for Python3
> support. It is dependent on Patch#6.
>
> I hope I've got everything correct, I've retested until I feel I
> can't look at Python code anymore for a while :-). Hopefully I've
> not made any more mistakes. If I have, please LMK and I'll do v3.

perf tools link against python2 so have the scripts been tested with python3?

$ ldd tools/perf/perf | grep python
libpython2.7.so.1.0 => /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
(0x00007ff8a2de2000)

\
 
 \ /
  Last update: 2019-03-05 10:58    [W:0.181 / U:1.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site