aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2018-12-10 17:14:09 -0500
committerAlexei Starovoitov <ast@kernel.org>2018-12-10 17:51:45 -0500
commitb4f8623c0cefdfb818f99b3eb3c1e4c7708dd84e (patch)
tree216991e0120d37d3607bc08124d4d8a242ee3a68
parent11d8b82d2222cade12caad2c125f23023777dcbc (diff)
tools/bpf: sync kernel uapi bpf.h to tools directory
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>
-rw-r--r--tools/include/uapi/linux/bpf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
index 6ad50b6471d3..620ee1f919cf 100644
--- a/tools/include/uapi/linux/bpf.h
+++ b/tools/include/uapi/linux/bpf.h
@@ -2695,11 +2695,11 @@ struct bpf_prog_info {
2695 __u32 btf_id; 2695 __u32 btf_id;
2696 __u32 func_info_rec_size; 2696 __u32 func_info_rec_size;
2697 __aligned_u64 func_info; 2697 __aligned_u64 func_info;
2698 __u32 func_info_cnt; 2698 __u32 nr_func_info;
2699 __u32 line_info_cnt; 2699 __u32 nr_line_info;
2700 __aligned_u64 line_info; 2700 __aligned_u64 line_info;
2701 __aligned_u64 jited_line_info; 2701 __aligned_u64 jited_line_info;
2702 __u32 jited_line_info_cnt; 2702 __u32 nr_jited_line_info;
2703 __u32 line_info_rec_size; 2703 __u32 line_info_rec_size;
2704 __u32 jited_line_info_rec_size; 2704 __u32 jited_line_info_rec_size;
2705} __attribute__((aligned(8))); 2705} __attribute__((aligned(8)));