diff options
author | 2021-10-22 21:06:23 +0800 | |
---|---|---|
committer | 2021-10-22 16:09:14 -0700 | |
commit | 487ef148cf17730442444c07a4c56f16578ec73e (patch) | |
tree | b2c6ec554b4b21bb648bf273b9acbd215fc9f813 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpftool: Switch to new btf__type_cnt API (diff) | |
download | linux-dev-487ef148cf17730442444c07a4c56f16578ec73e.tar.xz linux-dev-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 <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/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions