(root)/
strace-6.5/
src/
xlat/
bpf_stats_type.h
       1  /* Generated by ./src/xlat/gen.sh from ./src/xlat/bpf_stats_type.in; do not edit. */
       2  
       3  #include "gcc_compat.h"
       4  #include "static_assert.h"
       5  
       6  #if defined(BPF_STATS_RUN_TIME) || (defined(HAVE_DECL_BPF_STATS_RUN_TIME) && HAVE_DECL_BPF_STATS_RUN_TIME)
       7  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
       8  static_assert((BPF_STATS_RUN_TIME) == (0), "BPF_STATS_RUN_TIME != 0");
       9  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
      10  #else
      11  # define BPF_STATS_RUN_TIME 0
      12  #endif
      13  #undef XLAT_PREV_VAL
      14  
      15  #ifndef XLAT_MACROS_ONLY
      16  
      17  # ifdef IN_MPERS
      18  
      19  #  error static const struct xlat bpf_stats_type in mpers mode
      20  
      21  # else
      22  
      23  DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      24  static const struct xlat_data bpf_stats_type_xdata[] = {
      25   [BPF_STATS_RUN_TIME] = XLAT(BPF_STATS_RUN_TIME),
      26   #define XLAT_VAL_0 ((unsigned) (BPF_STATS_RUN_TIME))
      27   #define XLAT_STR_0 STRINGIFY(BPF_STATS_RUN_TIME)
      28  };
      29  static
      30  const struct xlat bpf_stats_type[1] = { {
      31   .data = bpf_stats_type_xdata,
      32   .size = ARRAY_SIZE(bpf_stats_type_xdata),
      33   .type = XT_INDEXED,
      34   .flags_mask = 0
      35  #  ifdef XLAT_VAL_0
      36    | XLAT_VAL_0
      37  #  endif
      38    ,
      39   .flags_strsz = 0
      40  #  ifdef XLAT_STR_0
      41    + sizeof(XLAT_STR_0)
      42  #  endif
      43    ,
      44  } };
      45  DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      46  
      47  #  undef XLAT_STR_0
      48  #  undef XLAT_VAL_0
      49  # endif /* !IN_MPERS */
      50  
      51  #endif /* !XLAT_MACROS_ONLY */