libbpf: Split field iter code into its own file kernel
authorAlan Maguire <alan.maguire@oracle.com>
Thu, 20 Jun 2024 09:17:30 +0000 (10:17 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 21 Jun 2024 21:45:07 +0000 (14:45 -0700)
commite7ac331b30555cf1a0826784a346f36dbf800451
tree954e49699d647af7a1139b9d4879fc1a1ea52cd8
parentd4e48e3dd45017abdd69a19285d197de897ef44f
libbpf: Split field iter code into its own file kernel

This will allow it to be shared with the kernel.  No functional change.

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/20240620091733.1967885-4-alan.maguire@oracle.com
tools/lib/bpf/Build
tools/lib/bpf/btf.c
tools/lib/bpf/btf_iter.c [new file with mode: 0644]