summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/linker.c
diff options
context:
space:
mode:
authorAlan Maguire <alan.maguire@oracle.com>2021-07-16 23:46:57 +0100
committerAndrii Nakryiko <andrii@kernel.org>2021-07-16 17:29:56 -0700
commitadd192f81ab21b58471577c75e7be9c9add98223 (patch)
tree6c8b85f1aef8f28ef64175e20b8fa09212d00cd6 /tools/lib/bpf/linker.c
parent04eb4dff6a64d842f7f2c85c7cb1affc5ab3ebc9 (diff)
libbpf: Btf typed dump does not need to allocate dump data
By using the stack for this small structure, we avoid the need for freeing memory in error paths. Suggested-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alan Maguire <alan.maguire@oracle.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/1626475617-25984-4-git-send-email-alan.maguire@oracle.com
Diffstat (limited to 'tools/lib/bpf/linker.c')
0 files changed, 0 insertions, 0 deletions