diff options
author | Hengqi Chen <hengqi.chen@gmail.com> | 2021-09-30 19:14:55 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-10-02 01:31:50 +0300 |
commit | f731052325efc3726577feb743c7495f880ae07d (patch) | |
tree | 07095a22878b49ae0d27e990a0276c06a5717369 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7bceeb95726b105bd4241c9635acc0836df675d4 (diff) | |
download | linux-f731052325efc3726577feb743c7495f880ae07d.tar.xz |
libbpf: Support uniform BTF-defined key/value specification across all BPF maps
A bunch of BPF maps do not support specifying BTF types for key and value.
This is non-uniform and inconvenient[0]. Currently, libbpf uses a retry
logic which removes BTF type IDs when BPF map creation failed. Instead
of retrying, this commit recognizes those specialized maps and removes
BTF type IDs when creating BPF map.
[0] Closes: https://github.com/libbpf/libbpf/issues/355
Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210930161456.3444544-2-hengqi.chen@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions