diff options
author | 2020-09-29 16:28:40 -0700 | |
---|---|---|
committer | 2020-09-30 12:30:22 -0700 | |
commit | 9c6c5c48d7e9c00c541e0f1a5cea3a96767e825c (patch) | |
tree | d1ebdedabbbeefc0dbd72a35a9186fb30208f3eb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'Various BPF helper improvements' (diff) | |
download | wireguard-linux-9c6c5c48d7e9c00c541e0f1a5cea3a96767e825c.tar.xz wireguard-linux-9c6c5c48d7e9c00c541e0f1a5cea3a96767e825c.zip |
libbpf: Make btf_dump work with modifiable BTF
Ensure that btf_dump can accommodate new BTF types being appended to BTF
instance after struct btf_dump was created. This came up during attemp to
use btf_dump for raw type dumping in selftests, but given changes are not
excessive, it's good to not have any gotchas in API usage, so I decided to
support such use case in general.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200929232843.1249318-2-andriin@fb.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions