trace-cmd: Update python plugin for Python 3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | trace-cmd: Replace PySting_FromString() with PyUnicode_FromString()python/ | +4 | 1 reply | |
| 2/3 | trace-cmd: Use PyMemoryView_FromMemory() for Python 3python/ | +11 | 1 reply | |
| 3/3 | trace-cmd: Use PyLong_AsLong() for Python 3python/ | +10 | 4 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Johannes Berg |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] trace-cmd: Update python plugin for Python 3
As reported here:
https://bugzilla.kernel.org/show_bug.cgi?id=204231
The trace-cmd python plugin doesn't build properly for Python 3. As Python 2 is going to be EOL soon, these should fix that. Note, I'm not strong in using python, and these changes basically came from googling how to handle these deprecations. Please have a look to see if I didn't break anything.
Steven Rostedt (VMware) (3):
trace-cmd: Replace PySting_FromString() with PyUnicode_FromString()
trace-cmd: Use PyMemoryView_FromMemory() for Python 3
trace-cmd: Use PyLong_AsLong() for Python 3
----
python/ctracecmd.i | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-)