bpf: test - annotate as critical
You can't pass xTS test suites without these maps.
As there is nothing besides 3 trivial HASH maps and 1 ARRAY,
there really isn't any way this can fail to load.
If bpf hash map / array creation fails we've really got bigger
problems, and we should see failures in netd_updatable.so
and thus boot failures.
Even the program is required to load correctly or
the bpf_existence_test xTS would fail...
Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ia750abd0b42fccd3c2a252b7780875bdee83abf8
diff --git a/bpf/progs/test.c b/bpf/progs/test.c
index bce402e..4f5a827 100644
--- a/bpf/progs/test.c
+++ b/bpf/progs/test.c
@@ -61,3 +61,4 @@
}
LICENSE("Apache 2.0");
+CRITICAL("Networking xTS tests");