1 /* Generated by ./xlat/gen.sh from ./xlat/perf_ioctl_flags.in; do not edit. */
2 
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5 
6 #if defined(PERF_IOC_FLAG_GROUP) || (defined(HAVE_DECL_PERF_IOC_FLAG_GROUP) && HAVE_DECL_PERF_IOC_FLAG_GROUP)
7 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
8 static_assert((PERF_IOC_FLAG_GROUP) == ((1U << 0)), "PERF_IOC_FLAG_GROUP != (1U << 0)");
9 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
10 #else
11 # define PERF_IOC_FLAG_GROUP (1U << 0)
12 #endif
13 
14 #ifndef XLAT_MACROS_ONLY
15 
16 # ifdef IN_MPERS
17 
18 extern const struct xlat perf_ioctl_flags[];
19 
20 # else
21 
22 #  if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
23 static
24 #  endif
25 const struct xlat perf_ioctl_flags[] = {
26  XLAT(PERF_IOC_FLAG_GROUP),
27  XLAT_END
28 };
29 
30 # endif /* !IN_MPERS */
31 
32 #endif /* !XLAT_MACROS_ONLY */
33