trace-cmd: python: Update to handle python 3 functions

Python 3 merged PyInt into PyLong. Add a C pre processor to change the
PyInt functions to use the PyLong ones for Python 3.

Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/20261021141120.62daabd1@gandalf.local.home
Link: https://bugzilla.kernel.org/show_bug.cgi?id=221966
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
1 file changed