2 * Copyright (c) 2016-2018 Eugene Syromyatnikov <evgsyr@gmail.com>
5 * SPDX-License-Identifier: LGPL-2.1-or-later
8 #ifndef STRACE_LINUX_PERF_EVENT_STRUCT_H
9 # define STRACE_LINUX_PERF_EVENT_STRUCT_H
13 struct perf_event_attr {
18 uint64_t sample_period;
43 exclude_callchain_kernel :1,
44 exclude_callchain_user :1,
53 uint32_t wakeup_events;
54 uint32_t wakeup_watermark;
61 /* End of ver 0 - 64 bytes */
66 /* End of ver 1 - 72 bytes */
67 uint64_t branch_sample_type;
68 /* End of ver 2 - 80 bytes */
69 uint64_t sample_regs_user;
70 uint32_t sample_stack_user;
72 /* End of ver 3 - 96 bytes */
73 uint64_t sample_regs_intr;
74 /* End of ver 4 - 104 bytes */
75 uint32_t aux_watermark;
76 uint16_t sample_max_stack;
77 uint16_t __reserved_2;
78 /* End of ver 5 - 112 bytes */
81 struct perf_event_query_bpf {
87 #endif /* !STRACE_LINUX_PERF_EVENT_STRUCT_H */