perf python: Convert tracepoint.py example to python3