diff options
author | Hengqi Chen <[email protected]> | 2021-10-01 00:14:55 +0800 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2021-10-01 15:31:50 -0700 |
commit | f731052325efc3726577feb743c7495f880ae07d (patch) | |
tree | 07095a22878b49ae0d27e990a0276c06a5717369 /tools/perf/scripts/python/libxed.py | |
parent | 7bceeb95726b105bd4241c9635acc0836df675d4 (diff) |
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 <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions