commit | 9bcff716f24033afd5cdd9b073801892610fb1fc | [log] [tgz] |
---|---|---|
author | Maciej Żenczykowski <maze@google.com> | Thu Aug 22 19:27:54 2024 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Aug 22 19:27:54 2024 +0000 |
tree | 3c73de82279b6c76a1e4cc6c42e0d197448f7b8c | |
parent | f8a4a5d3be0d032bfe8564b454fbb9439194bb04 [diff] | |
parent | d602835b4f24e93dfbbc8314fc14241ee9b4fd23 [diff] |
Merge "bpf: move bpf_headers into /bpf subdirectory" into main
diff --git a/staticlibs/native/bpf_headers/Android.bp b/bpf/headers/Android.bp similarity index 100% rename from staticlibs/native/bpf_headers/Android.bp rename to bpf/headers/Android.bp
diff --git a/staticlibs/native/bpf_headers/BpfMapTest.cpp b/bpf/headers/BpfMapTest.cpp similarity index 100% rename from staticlibs/native/bpf_headers/BpfMapTest.cpp rename to bpf/headers/BpfMapTest.cpp
diff --git a/staticlibs/native/bpf_headers/BpfRingbufTest.cpp b/bpf/headers/BpfRingbufTest.cpp similarity index 100% rename from staticlibs/native/bpf_headers/BpfRingbufTest.cpp rename to bpf/headers/BpfRingbufTest.cpp
diff --git a/staticlibs/native/bpf_headers/TEST_MAPPING b/bpf/headers/TEST_MAPPING similarity index 100% rename from staticlibs/native/bpf_headers/TEST_MAPPING rename to bpf/headers/TEST_MAPPING
diff --git a/staticlibs/native/bpf_headers/include/bpf/BpfClassic.h b/bpf/headers/include/bpf/BpfClassic.h similarity index 100% rename from staticlibs/native/bpf_headers/include/bpf/BpfClassic.h rename to bpf/headers/include/bpf/BpfClassic.h
diff --git a/staticlibs/native/bpf_headers/include/bpf/BpfMap.h b/bpf/headers/include/bpf/BpfMap.h similarity index 100% rename from staticlibs/native/bpf_headers/include/bpf/BpfMap.h rename to bpf/headers/include/bpf/BpfMap.h
diff --git a/staticlibs/native/bpf_headers/include/bpf/BpfRingbuf.h b/bpf/headers/include/bpf/BpfRingbuf.h similarity index 100% rename from staticlibs/native/bpf_headers/include/bpf/BpfRingbuf.h rename to bpf/headers/include/bpf/BpfRingbuf.h
diff --git a/staticlibs/native/bpf_headers/include/bpf/BpfUtils.h b/bpf/headers/include/bpf/BpfUtils.h similarity index 100% rename from staticlibs/native/bpf_headers/include/bpf/BpfUtils.h rename to bpf/headers/include/bpf/BpfUtils.h
diff --git a/staticlibs/native/bpf_headers/include/bpf/KernelUtils.h b/bpf/headers/include/bpf/KernelUtils.h similarity index 100% rename from staticlibs/native/bpf_headers/include/bpf/KernelUtils.h rename to bpf/headers/include/bpf/KernelUtils.h
diff --git a/staticlibs/native/bpf_headers/include/bpf/WaitForProgsLoaded.h b/bpf/headers/include/bpf/WaitForProgsLoaded.h similarity index 100% rename from staticlibs/native/bpf_headers/include/bpf/WaitForProgsLoaded.h rename to bpf/headers/include/bpf/WaitForProgsLoaded.h
diff --git a/staticlibs/native/bpf_headers/include/bpf/bpf_helpers.h b/bpf/headers/include/bpf_helpers.h similarity index 100% rename from staticlibs/native/bpf_headers/include/bpf/bpf_helpers.h rename to bpf/headers/include/bpf_helpers.h
diff --git a/staticlibs/native/bpf_headers/include/bpf/bpf_map_def.h b/bpf/headers/include/bpf_map_def.h similarity index 100% rename from staticlibs/native/bpf_headers/include/bpf/bpf_map_def.h rename to bpf/headers/include/bpf_map_def.h
diff --git a/bpf/loader/NetBpfLoad.cpp b/bpf/loader/NetBpfLoad.cpp index 00362b4..a10c9e3 100644 --- a/bpf/loader/NetBpfLoad.cpp +++ b/bpf/loader/NetBpfLoad.cpp
@@ -60,7 +60,7 @@ #include "BpfSyscallWrappers.h" #include "bpf/BpfUtils.h" -#include "bpf/bpf_map_def.h" +#include "bpf_map_def.h" using android::base::EndsWith; using android::base::StartsWith;