summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2022-06-07 09:26:15 +0300
committerAlexei Starovoitov <ast@kernel.org>2022-06-07 20:20:42 +0300
commit8479aa752226bea40b24db277f1f10ab2726f8bb (patch)
treedb9f0ffc310f0cd7195ccbed35c031cb76b3c664 /scripts
parentb58b2b3a31228bd9aaed9b96e9452dafd0d46024 (diff)
downloadlinux-8479aa752226bea40b24db277f1f10ab2726f8bb.tar.xz
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 'scripts')
0 files changed, 0 insertions, 0 deletions