bpf: tools: Sync uapi bpf.h for the name changes in bpf_func_info
authorMartin KaFai Lau <kafai@fb.com>
Thu, 6 Dec 2018 01:35:45 +0000 (17:35 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 6 Dec 2018 02:48:40 +0000 (18:48 -0800)
This patch sync the name changes in bpf_func_info to
the tools/.

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

index 64262890feb23c31da6215b0c11209b058a7cd8e..16263e8827fcd0e972ef508ffa9dc75535029c48 100644 (file)
@@ -2991,7 +2991,7 @@ struct bpf_flow_keys {
 };
 
 struct bpf_func_info {
-       __u32   insn_offset;
+       __u32   insn_off;
        __u32   type_id;
 };