]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'libbpf: Add btf__type_cnt() and btf__raw_data() APIs'
authorAndrii Nakryiko <andrii@kernel.org>
Fri, 22 Oct 2021 23:09:15 +0000 (16:09 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 22 Oct 2021 23:09:15 +0000 (16:09 -0700)
commit176b9bfaa6f48bc91ff4d43775432c2f5c6eec37
treeb2c6ec554b4b21bb648bf273b9acbd215fc9f813
parent589c34f623918d47c3de3ffa1baa30313adbcbe2
parent6ad88c7f0d82a9b15f2f6db250c109e4b359ca87
Merge branch 'libbpf: Add btf__type_cnt() and btf__raw_data() APIs'

Hengqi Chen says:

====================

Add btf__type_cnt() and btf__raw_data() APIs and deprecate
btf__get_nr_type() and btf__get_raw_data() since the old APIs
don't follow libbpf naming convention. Also update tools/selftests
to use these new APIs. This is part of effort towards libbpf v1.0

v1->v2:
 - Update commit message, deprecate the old APIs in libbpf v0.7 (Andrii)
 - Separate changes in tools/ to individual patches (Andrii)
====================

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>