adbd: add usb thread spawn logging.
Bug: http://b/141959374 Test: adbd shell killall adbd; adb wait-for-device logcat | grep UsbFfs Change-Id: Id5bbfd6d2198005bf10b94c691499059e130afe7
This commit is contained in:
parent
891e6dad73
commit
e3d34e1f8b
1 changed files with 3 additions and 0 deletions
|
@ -282,6 +282,7 @@ struct UsbFfsConnection : public Connection {
|
|||
|
||||
monitor_thread_ = std::thread([this]() {
|
||||
adb_thread_setname("UsbFfs-monitor");
|
||||
LOG(INFO) << "UsbFfs-monitor thread spawned";
|
||||
|
||||
bool bound = false;
|
||||
bool enabled = false;
|
||||
|
@ -427,6 +428,8 @@ struct UsbFfsConnection : public Connection {
|
|||
worker_started_ = true;
|
||||
worker_thread_ = std::thread([this]() {
|
||||
adb_thread_setname("UsbFfs-worker");
|
||||
LOG(INFO) << "UsbFfs-worker thread spawned";
|
||||
|
||||
for (size_t i = 0; i < kUsbReadQueueDepth; ++i) {
|
||||
read_requests_[i] = CreateReadBlock(next_read_id_++);
|
||||
if (!SubmitRead(&read_requests_[i])) {
|
||||
|
|
Loading…
Reference in a new issue