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
Loading
Please sign in to comment