diff options
author | huangxuesen <huangxuesen@kuaishou.com> | 2021-12-06 09:47:16 +0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-12-06 13:23:40 -0800 |
commit | 222c98c7979084fbefb4ce2ae377210c6e42011e (patch) | |
tree | 5d7d3876c2355f036773568212768ad6eea589bd /tools/lib | |
parent | db52f57211b4e45f0ebb274e2c877b211dc18591 (diff) | |
download | linux-222c98c7979084fbefb4ce2ae377210c6e42011e.tar.bz2 |
libbpf: Fix trivial typo
Fix typo in comment from 'bpf_skeleton_map' to 'bpf_map_skeleton'
and from 'bpf_skeleton_prog' to 'bpf_prog_skeleton'.
Signed-off-by: huangxuesen <huangxuesen@kuaishou.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/1638755236-3851199-1-git-send-email-hxseverything@gmail.com
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/bpf/libbpf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/bpf/libbpf.h b/tools/lib/bpf/libbpf.h index c0d62dd37c5d..2fa046a96142 100644 --- a/tools/lib/bpf/libbpf.h +++ b/tools/lib/bpf/libbpf.h @@ -1038,11 +1038,11 @@ struct bpf_object_skeleton { struct bpf_object **obj; int map_cnt; - int map_skel_sz; /* sizeof(struct bpf_skeleton_map) */ + int map_skel_sz; /* sizeof(struct bpf_map_skeleton) */ struct bpf_map_skeleton *maps; int prog_cnt; - int prog_skel_sz; /* sizeof(struct bpf_skeleton_prog) */ + int prog_skel_sz; /* sizeof(struct bpf_prog_skeleton) */ struct bpf_prog_skeleton *progs; }; |