summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Lehner <dev@der-flo.net>2021-01-23 19:52:21 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2021-01-26 00:15:03 +0100
commit726bf76fcd093bb16fc5f9215bf1c606ab699c6b (patch)
tree1cb2308d0676f3791da55831afe590ca556d6e33
parent095af986525a509c9378edf777aa9e0773645f13 (diff)
downloadlinux-726bf76fcd093bb16fc5f9215bf1c606ab699c6b.tar.gz
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
-rw-r--r--tools/include/uapi/linux/bpf_perf_event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/bpf_perf_event.h b/tools/include/uapi/linux/bpf_perf_event.h
index 8f95303f9d80..eb1b9d21250c 100644
--- a/tools/include/uapi/linux/bpf_perf_event.h
+++ b/tools/include/uapi/linux/bpf_perf_event.h
@@ -13,6 +13,7 @@
 struct bpf_perf_event_data {
 	bpf_user_pt_regs_t regs;
 	__u64 sample_period;
+	__u64 addr;
 };
 
 #endif /* _UAPI__LINUX_BPF_PERF_EVENT_H__ */