perf mem: Introduce perf_mem_events__name function