summaryrefslogtreecommitdiffstats
path: root/tools/include/uapi/linux/bpf.h
diff options
context:
space:
mode:
authorSandipan Das2018-05-24 08:56:53 +0200
committerDaniel Borkmann2018-05-24 09:20:49 +0200
commitbd980d43b977c0b6582be906da23b08e0ae1b3dc (patch)
treee2bbb352256f0af55307ea9ba76ce9bb5b41a5fe /tools/include/uapi/linux/bpf.h
parentbpf: get JITed image lengths of functions via syscall (diff)
downloadkernel-qcow2-linux-bd980d43b977c0b6582be906da23b08e0ae1b3dc.tar.gz
kernel-qcow2-linux-bd980d43b977c0b6582be906da23b08e0ae1b3dc.tar.xz
kernel-qcow2-linux-bd980d43b977c0b6582be906da23b08e0ae1b3dc.zip
tools: bpf: sync bpf uapi header
Syncing the bpf.h uapi header with tools so that struct bpf_prog_info has the two new fields for passing on the JITed image lengths of each function in a multi-function program. Signed-off-by: Sandipan Das <sandipan@linux.vnet.ibm.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/include/uapi/linux/bpf.h')
-rw-r--r--tools/include/uapi/linux/bpf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
index 0be90965867d..344d2ddcef49 100644
--- a/tools/include/uapi/linux/bpf.h
+++ b/tools/include/uapi/linux/bpf.h
@@ -2206,7 +2206,9 @@ struct bpf_prog_info {
__u64 netns_dev;
__u64 netns_ino;
__u32 nr_jited_ksyms;
+ __u32 nr_jited_func_lens;
__aligned_u64 jited_ksyms;
+ __aligned_u64 jited_func_lens;
} __attribute__((aligned(8)));
struct bpf_map_info {