]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
tools/bpf: sync kernel uapi bpf.h to tools directory
authorYonghong Song <yhs@fb.com>
Mon, 10 Dec 2018 22:14:09 +0000 (14:14 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 10 Dec 2018 22:51:45 +0000 (14:51 -0800)
Sync kernel uapi bpf.h "*_info_cnt => nr_*_info"
changes to tools directory.

Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/include/uapi/linux/bpf.h

index 6ad50b6471d363d5c222911cab6f471d6294b64b..620ee1f919cf2a077e7d242105bff50e5e399ec1 100644 (file)
@@ -2695,11 +2695,11 @@ struct bpf_prog_info {
        __u32 btf_id;
        __u32 func_info_rec_size;
        __aligned_u64 func_info;
-       __u32 func_info_cnt;
-       __u32 line_info_cnt;
+       __u32 nr_func_info;
+       __u32 nr_line_info;
        __aligned_u64 line_info;
        __aligned_u64 jited_line_info;
-       __u32 jited_line_info_cnt;
+       __u32 nr_jited_line_info;
        __u32 line_info_rec_size;
        __u32 jited_line_info_rec_size;
 } __attribute__((aligned(8)));