This test opens and closes the map, this makes
sure the map exists and can be opened.
Test: atest libbpf_android_test
Bug: 379821131
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Iada96f1ec0961f61d0710cb5ba00c8a86b0aedca
Maciej Żenczykowskicommited 2024-12-18 13:49:45 -08:00
Generated via:
git mv staticlibs/native/bpf_headers bpf/headers
cd bpf/headers/include
git mv bpf/bpf_helpers.h .
git mv bpf/bpf_map_def.h .
manually fix up bpf/bpf_map_def.h include path
bpf_helpers.h is only used by bpf programs so the 'bpf/'
prefix is spurious.
bpf_map_def.h is only used by bpf programs and the two
bpfloaders, which effectively means the 'bpf/' prefix isn't
useful.
Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ic3fc4e354a15821c27c23b7dbc019daad9f6ad85
Maciej Żenczykowskicommited 2024-08-21 13:18:59 -07:00