1 /* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6 #ifndef _UAPI__LINUX_BPF_PERF_EVENT_H__ 7 #define _UAPI__LINUX_BPF_PERF_EVENT_H__ 8 #include <asm/bpf_perf_event.h> 9 struct bpf_perf_event_data { 10 bpf_user_pt_regs_t regs; 11 __u64 sample_period; 12 __u64 addr; 13 }; 14 #endif 15