platform_system_bpf/libbpf_android
Maciej Żenczykowski 2090e3449d waitForProgsLoaded() - reduce log spaminess
Logging every 5s isn't actually useful and it just gets the important stuff out
of log buffers.

Test: adb logcat -s 'bpfloader:D' 'BpfUtils:D' 'LibBpfLoader:D'
  ...
  06-17 01:02:34.205   433   433 E bpfloader: --- DO NOT EXPECT SYSTEM TO BOOT SUCCESSFULLY ---
  06-17 01:02:38.103   335   335 W LibBpfLoader: Waited 5s for bpf.progs_loaded, still waiting...
  06-17 01:02:48.104   335   335 W LibBpfLoader: Waited 10s for bpf.progs_loaded, still waiting...
  06-17 01:03:08.104   335   335 W LibBpfLoader: Waited 20s for bpf.progs_loaded, still waiting...
  06-17 01:04:12.226   335   335 W LibBpfLoader: Waited 60s for bpf.progs_loaded, still waiting...
  06-17 01:04:17.628  1324  1324 W LibBpfLoader: Waited 5s for bpf.progs_loaded, still waiting...
  06-17 01:04:27.629  1324  1324 W LibBpfLoader: Waited 10s for bpf.progs_loaded, still waiting...
  06-17 01:04:47.629  1324  1324 W LibBpfLoader: Waited 20s for bpf.progs_loaded, still waiting...
  06-17 01:05:50.163  1324  1324 W LibBpfLoader: Waited 60s for bpf.progs_loaded, still waiting...
  06-17 01:05:55.551  1741  1741 W LibBpfLoader: Waited 5s for bpf.progs_loaded, still waiting...

Bug: 150040815
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I77b82bf44141df8ffab1d11d01a89c3927fbe827
2020-06-17 21:24:55 +00:00
..
include implement support for functions which may optionally fail to load 2020-06-17 10:44:19 +00:00
Android.bp libbpf_android: remove libnetdutils dep 2020-01-21 10:47:33 -08:00
BpfLoadTest.cpp Warn loudly and do not set bpf.progs_loaded property on critical bpf load failure. 2020-06-15 08:01:50 +00:00
BpfMapTest.cpp More missing calls to Result::ok() in libbpf_android tests 2020-02-10 07:28:13 +09:00
BpfUtils.cpp change to ro.kernel.ebpf.supported property 2020-04-23 18:36:56 -07:00
Loader.cpp waitForProgsLoaded() - reduce log spaminess 2020-06-17 21:24:55 +00:00
LoaderUtils.h add support for marking ebpf programs as being only for some kernel versions 2020-02-19 15:46:23 -08:00
TEST_MAPPING TEST_MAPPING += libbpf_android_test 2020-01-15 08:28:44 +00:00