Skip to content

Commit 726bf76

Browse files
florianlborkmann
authored andcommitted
tools, headers: Sync struct bpf_perf_event_data
Update struct bpf_perf_event_data with the addr field to match the tools headers with the kernel headers. Signed-off-by: Florian Lehner <dev@der-flo.net> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20210123185221.23946-1-dev@der-flo.net
1 parent 095af98 commit 726bf76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/include/uapi/linux/bpf_perf_event.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
struct bpf_perf_event_data {
1414
bpf_user_pt_regs_t regs;
1515
__u64 sample_period;
16+
__u64 addr;
1617
};
1718

1819
#endif /* _UAPI__LINUX_BPF_PERF_EVENT_H__ */

0 commit comments

Comments
 (0)