BpfLoader: split bpffs subdir creation out
Needs to be before program loading, this should eventually allow loading programs in parallel.
Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I95933a5ffbe2230c19d0f91c167e1256ea2f3713
diff --git a/loader/include/libbpf_android.h b/loader/include/libbpf_android.h
index fbdae6f..8e5a887 100644
--- a/loader/include/libbpf_android.h
+++ b/loader/include/libbpf_android.h
@@ -49,6 +49,7 @@
// The C++ portion of the BpfLoader is exposed as 3 functions to be called in order.
void initLogging();
+void createBpfFsSubDirectories();
void legacyBpfLoader();
__noreturn void execNetBpfLoadDone();