summaryrefslogtreecommitdiff
path: root/scripts/gen_compile_commands.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2020-09-30 02:28:40 +0300
committerAlexei Starovoitov <ast@kernel.org>2020-09-30 22:30:22 +0300
commit9c6c5c48d7e9c00c541e0f1a5cea3a96767e825c (patch)
treed1ebdedabbbeefc0dbd72a35a9186fb30208f3eb /scripts/gen_compile_commands.py
parentea7da1d563f11ee5f853fd19fc178ff17e990d09 (diff)
downloadlinux-9c6c5c48d7e9c00c541e0f1a5cea3a96767e825c.tar.xz
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 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions