android_system_bpf/libbpf_android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Maciej Żenczykowski 3adb1d5569 rename SEC() to SECTION()
The only purpose of this is to break cut-and-paste of examples
that use SEC() causing people to think things through, look
at Android bpf program examples and use a better macro.

In particular programs with SEC("license") / SEC("maps") need to be
changed to use LICENSE("license") and the map helpers or the map
section is wrong and cannot be correctly parsed by the bpfloader.

Generated via:
  git grep 'SEC\(' | cut -d: -f1-2 | while read i; do mcedit $i; done
and manually editting found locations

Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Idb333967e054e096fe74f910a5f8aaf1d6c5dc81
2021-11-18 05:45:21 +00:00
..
include BpfUtils.h - switch to GTEST_SKIP in all 4 SKIP macros 2021-11-11 11:54:02 -08:00
Android.bp Cleanup unused dependency to libprocessgroup 2021-08-31 19:59:20 +00:00
BpfLoadTest.cpp SKIP_IF_BPF_NOT_SUPPORTED is a no-op 2021-01-12 02:08:55 +00:00
BpfMapTest.cpp SKIP_IF_BPF_NOT_SUPPORTED is a no-op 2021-01-12 02:08:55 +00:00
BpfUtils.cpp Cleanup unused dependency to libprocessgroup 2021-08-31 19:59:20 +00:00
Loader.cpp rename SEC() to SECTION() 2021-11-18 05:45:21 +00:00
TEST_MAPPING TEST_MAPPING += libbpf_android_test 2020-01-15 08:28:44 +00:00