diff options
author | Delyan Kratunov <delyank@fb.com> | 2022-03-17 02:37:30 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-03-18 09:11:15 +0300 |
commit | 262cfb74ffdaed06e65b8b20e10241768a9a2e18 (patch) | |
tree | ad5126f1cbb3d91f1e9bcc9cfbaf49052341908d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bc380eb9d04812eda23fd1d2904389012b50d946 (diff) | |
download | linux-262cfb74ffdaed06e65b8b20e10241768a9a2e18.tar.xz |
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