1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2*4882a593Smuzhiyun /* Copyright (c) 2016 Facebook 3*4882a593Smuzhiyun * 4*4882a593Smuzhiyun * This program is free software; you can redistribute it and/or 5*4882a593Smuzhiyun * modify it under the terms of version 2 of the GNU General Public 6*4882a593Smuzhiyun * License as published by the Free Software Foundation. 7*4882a593Smuzhiyun */ 8*4882a593Smuzhiyun #ifndef _UAPI__LINUX_BPF_PERF_EVENT_H__ 9*4882a593Smuzhiyun #define _UAPI__LINUX_BPF_PERF_EVENT_H__ 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun #include <asm/bpf_perf_event.h> 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun struct bpf_perf_event_data { 14*4882a593Smuzhiyun bpf_user_pt_regs_t regs; 15*4882a593Smuzhiyun __u64 sample_period; 16*4882a593Smuzhiyun }; 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun #endif /* _UAPI__LINUX_BPF_PERF_EVENT_H__ */ 19