1 /* Generated by ./xlat/gen.sh from ./xlat/perf_event_open_flags.in; do not edit. */ 2 #if !(defined(PERF_FLAG_FD_NO_GROUP) || (defined(HAVE_DECL_PERF_FLAG_FD_NO_GROUP) && HAVE_DECL_PERF_FLAG_FD_NO_GROUP)) 3 # define PERF_FLAG_FD_NO_GROUP 1 4 #endif 5 #if !(defined(PERF_FLAG_FD_OUTPUT) || (defined(HAVE_DECL_PERF_FLAG_FD_OUTPUT) && HAVE_DECL_PERF_FLAG_FD_OUTPUT)) 6 # define PERF_FLAG_FD_OUTPUT 2 7 #endif 8 #if !(defined(PERF_FLAG_PID_CGROUP) || (defined(HAVE_DECL_PERF_FLAG_PID_CGROUP) && HAVE_DECL_PERF_FLAG_PID_CGROUP)) 9 # define PERF_FLAG_PID_CGROUP 4 10 #endif 11 #if !(defined(PERF_FLAG_FD_CLOEXEC) || (defined(HAVE_DECL_PERF_FLAG_FD_CLOEXEC) && HAVE_DECL_PERF_FLAG_FD_CLOEXEC)) 12 # define PERF_FLAG_FD_CLOEXEC 8 13 #endif 14 15 #ifdef IN_MPERS 16 17 # error static const struct xlat perf_event_open_flags in mpers mode 18 19 #else 20 21 static 22 const struct xlat perf_event_open_flags[] = { 23 XLAT(PERF_FLAG_FD_NO_GROUP), 24 XLAT(PERF_FLAG_FD_OUTPUT), 25 XLAT(PERF_FLAG_PID_CGROUP), 26 XLAT(PERF_FLAG_FD_CLOEXEC), 27 XLAT_END 28 }; 29 30 #endif /* !IN_MPERS */ 31