perf python: Add perf.tracepoint method