Commit 8bf03fe4 authored by Jorge E. Moreira's avatar Jorge E. Moreira
Browse files

vsock_logcat logs only once on failure, to the kernel logs is needed.

vsock_logcat keeps an android property (vsock_logcat_status) with its
state (started or failed). On failure, it checks the value of the
property and only logs if it wasn't 'failed'. This prevents it from
overflowing the log buffers.

When the failure is due to a missing connection, it logs to the kernel
logs too, as the android logs are not available host side.

Bug: 125356763
Test: run locally
Change-Id: I7b11995fec6fd8720047129c4bdb07257253c77e
parent fd10cae8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment