perf/record: simplify TRACE_INFO tracepoint check