1 /* Generated by ./xlat/gen.sh from ./xlat/perf_event_read_format.in; do not edit. */ 2 #if !(defined(PERF_FORMAT_TOTAL_TIME_ENABLED) || (defined(HAVE_DECL_PERF_FORMAT_TOTAL_TIME_ENABLED) && HAVE_DECL_PERF_FORMAT_TOTAL_TIME_ENABLED)) 3 # define PERF_FORMAT_TOTAL_TIME_ENABLED 1 << 0 4 #endif 5 #if !(defined(PERF_FORMAT_TOTAL_TIME_RUNNING) || (defined(HAVE_DECL_PERF_FORMAT_TOTAL_TIME_RUNNING) && HAVE_DECL_PERF_FORMAT_TOTAL_TIME_RUNNING)) 6 # define PERF_FORMAT_TOTAL_TIME_RUNNING 1 << 1 7 #endif 8 #if !(defined(PERF_FORMAT_ID) || (defined(HAVE_DECL_PERF_FORMAT_ID) && HAVE_DECL_PERF_FORMAT_ID)) 9 # define PERF_FORMAT_ID 1 << 2 10 #endif 11 #if !(defined(PERF_FORMAT_GROUP) || (defined(HAVE_DECL_PERF_FORMAT_GROUP) && HAVE_DECL_PERF_FORMAT_GROUP)) 12 # define PERF_FORMAT_GROUP 1 << 3 13 #endif 14 15 #ifdef IN_MPERS 16 17 # error static const struct xlat perf_event_read_format in mpers mode 18 19 #else 20 21 static 22 const struct xlat perf_event_read_format[] = { 23 XLAT(PERF_FORMAT_TOTAL_TIME_ENABLED), 24 XLAT(PERF_FORMAT_TOTAL_TIME_RUNNING), 25 XLAT(PERF_FORMAT_ID), 26 XLAT(PERF_FORMAT_GROUP), 27 XLAT_END 28 }; 29 30 #endif /* !IN_MPERS */ 31