1 #ifndef STRACE_LINUX_PERF_EVENT_STRUCT_H
2 #define STRACE_LINUX_PERF_EVENT_STRUCT_H
6 struct perf_event_attr {
11 uint64_t sample_period;
36 exclude_callchain_kernel :1,
37 exclude_callchain_user :1,
45 uint32_t wakeup_events;
46 uint32_t wakeup_watermark;
53 /* End of ver 0 - 64 bytes */
58 /* End of ver 1 - 72 bytes */
59 uint64_t branch_sample_type;
60 /* End of ver 2 - 80 bytes */
61 uint64_t sample_regs_user;
62 uint32_t sample_stack_user;
64 /* End of ver 3 - 96 bytes */
65 uint64_t sample_regs_intr;
66 /* End of ver 4 - 104 bytes */
67 uint32_t aux_watermark;
68 uint16_t sample_max_stack;
69 uint16_t __reserved_2;
70 /* End of ver 5 - 112 bytes */
73 #endif /* !STRACE_LINUX_PERF_EVENT_STRUCT_H */