perf tools: tracepoint_error() can receive e=NULL, robustify it