1/* Generated by ./xlat/gen.sh from ./xlat/perf_event_sample_format.in; do not edit. */
2#if !(defined(PERF_SAMPLE_IP) || (defined(HAVE_DECL_PERF_SAMPLE_IP) && HAVE_DECL_PERF_SAMPLE_IP))
3# define PERF_SAMPLE_IP 1 << 0
4#endif
5#if !(defined(PERF_SAMPLE_TID) || (defined(HAVE_DECL_PERF_SAMPLE_TID) && HAVE_DECL_PERF_SAMPLE_TID))
6# define PERF_SAMPLE_TID 1 << 1
7#endif
8#if !(defined(PERF_SAMPLE_TIME) || (defined(HAVE_DECL_PERF_SAMPLE_TIME) && HAVE_DECL_PERF_SAMPLE_TIME))
9# define PERF_SAMPLE_TIME 1 << 2
10#endif
11#if !(defined(PERF_SAMPLE_ADDR) || (defined(HAVE_DECL_PERF_SAMPLE_ADDR) && HAVE_DECL_PERF_SAMPLE_ADDR))
12# define PERF_SAMPLE_ADDR 1 << 3
13#endif
14#if !(defined(PERF_SAMPLE_READ) || (defined(HAVE_DECL_PERF_SAMPLE_READ) && HAVE_DECL_PERF_SAMPLE_READ))
15# define PERF_SAMPLE_READ 1 << 4
16#endif
17#if !(defined(PERF_SAMPLE_CALLCHAIN) || (defined(HAVE_DECL_PERF_SAMPLE_CALLCHAIN) && HAVE_DECL_PERF_SAMPLE_CALLCHAIN))
18# define PERF_SAMPLE_CALLCHAIN 1 << 5
19#endif
20#if !(defined(PERF_SAMPLE_ID) || (defined(HAVE_DECL_PERF_SAMPLE_ID) && HAVE_DECL_PERF_SAMPLE_ID))
21# define PERF_SAMPLE_ID 1 << 6
22#endif
23#if !(defined(PERF_SAMPLE_CPU) || (defined(HAVE_DECL_PERF_SAMPLE_CPU) && HAVE_DECL_PERF_SAMPLE_CPU))
24# define PERF_SAMPLE_CPU 1 << 7
25#endif
26#if !(defined(PERF_SAMPLE_PERIOD) || (defined(HAVE_DECL_PERF_SAMPLE_PERIOD) && HAVE_DECL_PERF_SAMPLE_PERIOD))
27# define PERF_SAMPLE_PERIOD 1 << 8
28#endif
29#if !(defined(PERF_SAMPLE_STREAM_ID) || (defined(HAVE_DECL_PERF_SAMPLE_STREAM_ID) && HAVE_DECL_PERF_SAMPLE_STREAM_ID))
30# define PERF_SAMPLE_STREAM_ID 1 << 9
31#endif
32#if !(defined(PERF_SAMPLE_RAW) || (defined(HAVE_DECL_PERF_SAMPLE_RAW) && HAVE_DECL_PERF_SAMPLE_RAW))
33# define PERF_SAMPLE_RAW 1 << 10
34#endif
35#if !(defined(PERF_SAMPLE_BRANCH_STACK) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_STACK) && HAVE_DECL_PERF_SAMPLE_BRANCH_STACK))
36# define PERF_SAMPLE_BRANCH_STACK 1 << 11
37#endif
38#if !(defined(PERF_SAMPLE_REGS_USER) || (defined(HAVE_DECL_PERF_SAMPLE_REGS_USER) && HAVE_DECL_PERF_SAMPLE_REGS_USER))
39# define PERF_SAMPLE_REGS_USER 1 << 12
40#endif
41#if !(defined(PERF_SAMPLE_STACK_USER) || (defined(HAVE_DECL_PERF_SAMPLE_STACK_USER) && HAVE_DECL_PERF_SAMPLE_STACK_USER))
42# define PERF_SAMPLE_STACK_USER 1 << 13
43#endif
44#if !(defined(PERF_SAMPLE_WEIGHT) || (defined(HAVE_DECL_PERF_SAMPLE_WEIGHT) && HAVE_DECL_PERF_SAMPLE_WEIGHT))
45# define PERF_SAMPLE_WEIGHT 1 << 14
46#endif
47#if !(defined(PERF_SAMPLE_DATA_SRC) || (defined(HAVE_DECL_PERF_SAMPLE_DATA_SRC) && HAVE_DECL_PERF_SAMPLE_DATA_SRC))
48# define PERF_SAMPLE_DATA_SRC 1 << 15
49#endif
50#if !(defined(PERF_SAMPLE_IDENTIFIER) || (defined(HAVE_DECL_PERF_SAMPLE_IDENTIFIER) && HAVE_DECL_PERF_SAMPLE_IDENTIFIER))
51# define PERF_SAMPLE_IDENTIFIER 1 << 16
52#endif
53#if !(defined(PERF_SAMPLE_TRANSACTION) || (defined(HAVE_DECL_PERF_SAMPLE_TRANSACTION) && HAVE_DECL_PERF_SAMPLE_TRANSACTION))
54# define PERF_SAMPLE_TRANSACTION 1 << 17
55#endif
56#if !(defined(PERF_SAMPLE_REGS_INTR) || (defined(HAVE_DECL_PERF_SAMPLE_REGS_INTR) && HAVE_DECL_PERF_SAMPLE_REGS_INTR))
57# define PERF_SAMPLE_REGS_INTR 1 << 18
58#endif
59
60#ifdef IN_MPERS
61
62# error static const struct xlat perf_event_sample_format in mpers mode
63
64#else
65
66static
67const struct xlat perf_event_sample_format[] = {
68 XLAT(PERF_SAMPLE_IP),
69 XLAT(PERF_SAMPLE_TID),
70 XLAT(PERF_SAMPLE_TIME),
71 XLAT(PERF_SAMPLE_ADDR),
72 XLAT(PERF_SAMPLE_READ),
73 XLAT(PERF_SAMPLE_CALLCHAIN),
74 XLAT(PERF_SAMPLE_ID),
75 XLAT(PERF_SAMPLE_CPU),
76 XLAT(PERF_SAMPLE_PERIOD),
77 XLAT(PERF_SAMPLE_STREAM_ID),
78 XLAT(PERF_SAMPLE_RAW),
79 XLAT(PERF_SAMPLE_BRANCH_STACK),
80 XLAT(PERF_SAMPLE_REGS_USER),
81 XLAT(PERF_SAMPLE_STACK_USER),
82 XLAT(PERF_SAMPLE_WEIGHT),
83 XLAT(PERF_SAMPLE_DATA_SRC),
84 XLAT(PERF_SAMPLE_IDENTIFIER),
85 XLAT(PERF_SAMPLE_TRANSACTION),
86 XLAT(PERF_SAMPLE_REGS_INTR),
87 XLAT_END
88};
89
90#endif /* !IN_MPERS */
91