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(-)
![]() |