1 /* Generated by ./xlat/gen.sh from ./xlat/perf_hw_cache_op_result_id.in; do not edit. */ 2 #if !(defined(PERF_COUNT_HW_CACHE_RESULT_ACCESS) || (defined(HAVE_DECL_PERF_COUNT_HW_CACHE_RESULT_ACCESS) && HAVE_DECL_PERF_COUNT_HW_CACHE_RESULT_ACCESS)) 3 # define PERF_COUNT_HW_CACHE_RESULT_ACCESS 0 4 #endif 5 #if !(defined(PERF_COUNT_HW_CACHE_RESULT_MISS) || (defined(HAVE_DECL_PERF_COUNT_HW_CACHE_RESULT_MISS) && HAVE_DECL_PERF_COUNT_HW_CACHE_RESULT_MISS)) 6 # define PERF_COUNT_HW_CACHE_RESULT_MISS 1 7 #endif 8 9 #ifdef IN_MPERS 10 11 # error static const struct xlat perf_hw_cache_op_result_id in mpers mode 12 13 #else 14 15 static 16 const struct xlat perf_hw_cache_op_result_id[] = { 17 XLAT(PERF_COUNT_HW_CACHE_RESULT_ACCESS), 18 XLAT(PERF_COUNT_HW_CACHE_RESULT_MISS), 19 /* this array should remain not NULL-terminated */ 20 }; 21 22 #endif /* !IN_MPERS */ 23