diff options
author | 2022-03-16 23:37:30 +0000 | |
---|---|---|
committer | 2022-03-17 23:11:15 -0700 | |
commit | 262cfb74ffdaed06e65b8b20e10241768a9a2e18 (patch) | |
tree | ad5126f1cbb3d91f1e9bcc9cfbaf49052341908d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | libbpf: .text routines are subprograms in strict mode (diff) | |
download | linux-dev-262cfb74ffdaed06e65b8b20e10241768a9a2e18.tar.xz linux-dev-262cfb74ffdaed06e65b8b20e10241768a9a2e18.zip |
libbpf: Init btf_{key,value}_type_id on internal map open
For internal and user maps, look up the key and value btf
types on open() and not load(), so that `bpf_map_btf_value_type_id`
is usable in `bpftool gen`.
Signed-off-by: Delyan Kratunov <delyank@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/78dbe4e457b4a05e098fc6c8f50014b680c86e4e.1647473511.git.delyank@fb.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions