diff options
| author | Hengqi Chen <[email protected]> | 2021-10-22 13:06:23 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-10-22 23:09:14 +0000 |
| commit | 487ef148cf17730442444c07a4c56f16578ec73e (patch) | |
| tree | b2c6ec554b4b21bb648bf273b9acbd215fc9f813 /tools/bpf/bpftool/prog.c | |
| parent | bpftool: Switch to new btf__type_cnt API (diff) | |
| download | kernel-487ef148cf17730442444c07a4c56f16578ec73e.tar.gz kernel-487ef148cf17730442444c07a4c56f16578ec73e.zip | |
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 <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
