commit | cbb87b6c9731817f2acee104a9d3473701221763 | [log] [tgz] |
---|---|---|
author | Neill Kapron <nkapron@google.com> | Fri Oct 04 17:18:45 2024 +0000 |
committer | Neill Kapron <nkapron@google.com> | Wed Nov 06 16:20:13 2024 +0000 |
tree | 021d81765a77b3ce7eb53875deab363f2c92a10e | |
parent | ba0666388b7d157223edc9c64d7d9059c894bf41 [diff] |
bpfloader-rs: implement rust native logging Add a logger to enable rust native logging to kmsg on errors (and therefore also to the serial port). Because bpfloader runs early in the init process, errors could cause the boot to fail and therefore we require the messages to go to the serial port to debug. Bug: 359646531 Test: manual/TH Change-Id: If3c5963fd17dea101769b844b970c7e2d6dd93c9 Signed-off-by: Neill Kapron <nkapron@google.com>