diff options
author | Hengqi Chen <hengqi.chen@gmail.com> | 2021-10-22 21:06:23 +0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-10-22 16:09:14 -0700 |
commit | 487ef148cf17730442444c07a4c56f16578ec73e (patch) | |
tree | b2c6ec554b4b21bb648bf273b9acbd215fc9f813 /tools/bpf/bpftool/Documentation/bpftool-map.rst | |
parent | 58fc155b0e4bbd69584b7a241ab01d55ee7cfde6 (diff) |
selftests/bpf: Switch to new btf__type_cnt/btf__raw_data APIs
Replace the calls to btf__get_nr_types/btf__get_raw_data in
selftests with new APIs btf__type_cnt/btf__raw_data. The old
APIs will be deprecated in libbpf v0.7+.
Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211022130623.1548429-6-hengqi.chen@gmail.com
Diffstat (limited to 'tools/bpf/bpftool/Documentation/bpftool-map.rst')
0 files changed, 0 insertions, 0 deletions