1 /* Generated by ./xlat/gen.sh from ./xlat/perf_attr_size.in; do not edit. */ 2 #if !(defined(PERF_ATTR_SIZE_VER0) || (defined(HAVE_DECL_PERF_ATTR_SIZE_VER0) && HAVE_DECL_PERF_ATTR_SIZE_VER0)) 3 # define PERF_ATTR_SIZE_VER0 64 4 #endif 5 #if !(defined(PERF_ATTR_SIZE_VER1) || (defined(HAVE_DECL_PERF_ATTR_SIZE_VER1) && HAVE_DECL_PERF_ATTR_SIZE_VER1)) 6 # define PERF_ATTR_SIZE_VER1 72 7 #endif 8 #if !(defined(PERF_ATTR_SIZE_VER2) || (defined(HAVE_DECL_PERF_ATTR_SIZE_VER2) && HAVE_DECL_PERF_ATTR_SIZE_VER2)) 9 # define PERF_ATTR_SIZE_VER2 80 10 #endif 11 #if !(defined(PERF_ATTR_SIZE_VER3) || (defined(HAVE_DECL_PERF_ATTR_SIZE_VER3) && HAVE_DECL_PERF_ATTR_SIZE_VER3)) 12 # define PERF_ATTR_SIZE_VER3 96 13 #endif 14 #if !(defined(PERF_ATTR_SIZE_VER4) || (defined(HAVE_DECL_PERF_ATTR_SIZE_VER4) && HAVE_DECL_PERF_ATTR_SIZE_VER4)) 15 # define PERF_ATTR_SIZE_VER4 104 16 #endif 17 #if !(defined(PERF_ATTR_SIZE_VER5) || (defined(HAVE_DECL_PERF_ATTR_SIZE_VER5) && HAVE_DECL_PERF_ATTR_SIZE_VER5)) 18 # define PERF_ATTR_SIZE_VER5 112 19 #endif 20 21 #ifdef IN_MPERS 22 23 # error static const struct xlat perf_attr_size in mpers mode 24 25 #else 26 27 static 28 const struct xlat perf_attr_size[] = { 29 XLAT(PERF_ATTR_SIZE_VER0), 30 XLAT(PERF_ATTR_SIZE_VER1), 31 XLAT(PERF_ATTR_SIZE_VER2), 32 XLAT(PERF_ATTR_SIZE_VER3), 33 XLAT(PERF_ATTR_SIZE_VER4), 34 XLAT(PERF_ATTR_SIZE_VER5), 35 XLAT_END 36 }; 37 38 #endif /* !IN_MPERS */ 39