Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Florian Lehner and committed by
Daniel Borkmann
726bf76f 095af986

+1
+1
tools/include/uapi/linux/bpf_perf_event.h
··· 13 13 struct bpf_perf_event_data { 14 14 bpf_user_pt_regs_t regs; 15 15 __u64 sample_period; 16 + __u64 addr; 16 17 }; 17 18 18 19 #endif /* _UAPI__LINUX_BPF_PERF_EVENT_H__ */