summaryrefslogtreecommitdiffstats
path: root/tools/include
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2018-04-25 19:41:07 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2018-04-26 22:38:38 +0200
commitfb6ef42b5c8e4ce92c2c3c36398ad7574b290951 (patch)
treeb12b9c10c18ebe8fa44208217ebfcc3809f777e2 /tools/include
parentbpf: Add gpl_compatible flag to struct bpf_prog_info (diff)
downloadlinux-fb6ef42b5c8e4ce92c2c3c36398ad7574b290951.tar.xz
linux-fb6ef42b5c8e4ce92c2c3c36398ad7574b290951.zip
tools, bpf: Sync bpf.h uapi header
Syncing the bpf.h uapi header with tools. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/uapi/linux/bpf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
index e6679393b687..da8801860c7d 100644
--- a/tools/include/uapi/linux/bpf.h
+++ b/tools/include/uapi/linux/bpf.h
@@ -1060,6 +1060,7 @@ struct bpf_prog_info {
__aligned_u64 map_ids;
char name[BPF_OBJ_NAME_LEN];
__u32 ifindex;
+ __u32 gpl_compatible:1;
__u64 netns_dev;
__u64 netns_ino;
} __attribute__((aligned(8)));