diff options
author | 2021-10-01 00:14:55 +0800 | |
---|---|---|
committer | 2021-10-01 15:31:50 -0700 | |
commit | f731052325efc3726577feb743c7495f880ae07d (patch) | |
tree | 07095a22878b49ae0d27e990a0276c06a5717369 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | bpf/tests: Add test of LDX_MEM with operand aliasing (diff) | |
download | linux-dev-f731052325efc3726577feb743c7495f880ae07d.tar.xz linux-dev-f731052325efc3726577feb743c7495f880ae07d.zip |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions