diff options
author | 2021-10-22 21:06:21 +0800 | |
---|---|---|
committer | 2021-10-22 16:09:14 -0700 | |
commit | 2d8f09fafc6351d77f724c208c8168d2512d5478 (patch) | |
tree | 671b19e4643ad0c7c138a3a1d58fde62986975cf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf bpf: Switch to new btf__raw_data API (diff) | |
download | linux-dev-2d8f09fafc6351d77f724c208c8168d2512d5478.tar.xz linux-dev-2d8f09fafc6351d77f724c208c8168d2512d5478.zip |
tools/resolve_btfids: Switch to new btf__type_cnt API
Replace the call to btf__get_nr_types with new API btf__type_cnt.
The old API will be deprecated in libbpf v0.7+. No functionality
change.
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-4-hengqi.chen@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions