| /* Generated by ./xlat/gen.sh from ./xlat/perf_attr_size.in; do not edit. */ |
| #if !(defined(PERF_ATTR_SIZE_VER0) || (defined(HAVE_DECL_PERF_ATTR_SIZE_VER0) && HAVE_DECL_PERF_ATTR_SIZE_VER0)) |
| # define PERF_ATTR_SIZE_VER0 64 |
| #endif |
| #if !(defined(PERF_ATTR_SIZE_VER1) || (defined(HAVE_DECL_PERF_ATTR_SIZE_VER1) && HAVE_DECL_PERF_ATTR_SIZE_VER1)) |
| # define PERF_ATTR_SIZE_VER1 72 |
| #endif |
| #if !(defined(PERF_ATTR_SIZE_VER2) || (defined(HAVE_DECL_PERF_ATTR_SIZE_VER2) && HAVE_DECL_PERF_ATTR_SIZE_VER2)) |
| # define PERF_ATTR_SIZE_VER2 80 |
| #endif |
| #if !(defined(PERF_ATTR_SIZE_VER3) || (defined(HAVE_DECL_PERF_ATTR_SIZE_VER3) && HAVE_DECL_PERF_ATTR_SIZE_VER3)) |
| # define PERF_ATTR_SIZE_VER3 96 |
| #endif |
| #if !(defined(PERF_ATTR_SIZE_VER4) || (defined(HAVE_DECL_PERF_ATTR_SIZE_VER4) && HAVE_DECL_PERF_ATTR_SIZE_VER4)) |
| # define PERF_ATTR_SIZE_VER4 104 |
| #endif |
| #if !(defined(PERF_ATTR_SIZE_VER5) || (defined(HAVE_DECL_PERF_ATTR_SIZE_VER5) && HAVE_DECL_PERF_ATTR_SIZE_VER5)) |
| # define PERF_ATTR_SIZE_VER5 112 |
| #endif |
| |
| #ifdef IN_MPERS |
| |
| # error static const struct xlat perf_attr_size in mpers mode |
| |
| #else |
| |
| static |
| const struct xlat perf_attr_size[] = { |
| XLAT(PERF_ATTR_SIZE_VER0), |
| XLAT(PERF_ATTR_SIZE_VER1), |
| XLAT(PERF_ATTR_SIZE_VER2), |
| XLAT(PERF_ATTR_SIZE_VER3), |
| XLAT(PERF_ATTR_SIZE_VER4), |
| XLAT(PERF_ATTR_SIZE_VER5), |
| XLAT_END |
| }; |
| |
| #endif /* !IN_MPERS */ |