[PATCH 6.12 475/826] perf stat: Close cork_fd when create_perf_stat_counter() failed