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