summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2018-12-06 02:35:45 +0100
committerAlexei Starovoitov <ast@kernel.org>2018-12-06 03:48:40 +0100
commit555249df711b146a2898949ac80503be29fe7340 (patch)
tree46086a2b1db99d9e31f94baed5049a4a4265b113
parentbpf: Change insn_offset to insn_off in bpf_func_info (diff)
downloadlinux-555249df711b146a2898949ac80503be29fe7340.tar.xz
linux-555249df711b146a2898949ac80503be29fe7340.zip
bpf: tools: Sync uapi bpf.h for the name changes in bpf_func_info
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>
-rw-r--r--tools/include/uapi/linux/bpf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
index 64262890feb2..16263e8827fc 100644
--- a/tools/include/uapi/linux/bpf.h
+++ b/tools/include/uapi/linux/bpf.h
@@ -2991,7 +2991,7 @@ struct bpf_flow_keys {
};
struct bpf_func_info {
- __u32 insn_offset;
+ __u32 insn_off;
__u32 type_id;
};