perf_counter: Work around gcc warning by initializing tracepoint record unconditionally