]> git.feebdaed.xyz Git - 0xmirror/ebpf.git/commit
map: don't require BTF to rewrite data section from variable
authorLorenz Bauer <lmb@isovalent.com>
Wed, 22 Oct 2025 14:55:31 +0000 (15:55 +0100)
committerTimo Beckers <ti-mo@users.noreply.github.com>
Mon, 1 Dec 2025 14:31:48 +0000 (15:31 +0100)
commit3d4ca808756e3953ced47867419e5bb5f3b50477
tree90fd795f7a3982bbed813ab0a1df1ce6e432ee87
parentb2c89813da110d669cacf99dc58e807156019c68
map: don't require BTF to rewrite data section from variable

MapSpec.dataSection() currently enforces the presence of BTF, even though the
downstream code doesn't explicitly rely on it. Remove this restriction.

Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
collection.go
map.go