| /* Generated by ./xlat/gen.sh from ./xlat/perf_hw_cache_op_result_id.in; do not edit. */ |
| #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)) |
| # define PERF_COUNT_HW_CACHE_RESULT_ACCESS 0 |
| #endif |
| #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)) |
| # define PERF_COUNT_HW_CACHE_RESULT_MISS 1 |
| #endif |
| |
| #ifdef IN_MPERS |
| |
| # error static const struct xlat perf_hw_cache_op_result_id in mpers mode |
| |
| #else |
| |
| static |
| const struct xlat perf_hw_cache_op_result_id[] = { |
| XLAT(PERF_COUNT_HW_CACHE_RESULT_ACCESS), |
| XLAT(PERF_COUNT_HW_CACHE_RESULT_MISS), |
| /* this array should remain not NULL-terminated */ |
| }; |
| |
| #endif /* !IN_MPERS */ |