tools: bpf: sync bpf uapi header
authorSandipan Das <sandipan@linux.vnet.ibm.com>
Thu, 24 May 2018 06:56:53 +0000 (12:26 +0530)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 24 May 2018 07:20:49 +0000 (09:20 +0200)
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>
tools/include/uapi/linux/bpf.h

index 0be9096..344d2dd 100644 (file)
@@ -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 {