perf cpu_map: Add cpu_map__new_event function