1 // SPDX-License-Identifier: GPL-2.0 2 #include "mem-events.h" 3 4 /* PowerPC does not support 'ldlat' parameter. */ 5 char *perf_mem_events__name(int i) 6 { 7 if (i == PERF_MEM_EVENTS__LOAD) 8 return (char *) "cpu/mem-loads/"; 9 10 return (char *) "cpu/mem-stores/"; 11 } 12