diff options
author | Yonghong Song <yhs@fb.com> | 2022-06-06 23:26:15 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-06-07 10:20:42 -0700 |
commit | 8479aa752226bea40b24db277f1f10ab2726f8bb (patch) | |
tree | db9f0ffc310f0cd7195ccbed35c031cb76b3c664 /tools/lib/api/fd/array.c | |
parent | b58b2b3a31228bd9aaed9b96e9452dafd0d46024 (diff) | |
download | linux-8479aa752226bea40b24db277f1f10ab2726f8bb.tar.bz2 |
libbpf: Refactor btf__add_enum() for future code sharing
Refactor btf__add_enum() function to create a separate
function btf_add_enum_common() so later the common function
can be used to add enum64 btf type. There is no functionality
change for this patch.
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/20220607062615.3718063-1-yhs@fb.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/api/fd/array.c')
0 files changed, 0 insertions, 0 deletions