diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:19:53 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:19:53 +0000 |
commit | 7a9fb41030e1e2c83a6f8e7a93d588eddfe3aec4 (patch) | |
tree | 26c4570f6cc8f5ee36233bd88a2b1236e65a8f20 /libs/adbconnection/adbconnection_server.cpp | |
parent | 5979bcb5027a90f89acb289aefbbbfb51e0d1b4b (diff) | |
parent | c362e05a76d7238f684234fe4ad6768c0c461b8d (diff) | |
download | adb-android14-mainline-sdkext-release.tar.gz |
Snap for 10453563 from c362e05a76d7238f684234fe4ad6768c0c461b8d to mainline-sdkext-releaseaml_sdk_341710000aml_sdk_341510000aml_sdk_341410000aml_sdk_341110080aml_sdk_341110000aml_sdk_341010000aml_sdk_340912010android14-mainline-sdkext-release
Change-Id: I5b8c69036ab58b779643c014c99e7d400ae32fab
Diffstat (limited to 'libs/adbconnection/adbconnection_server.cpp')
-rw-r--r-- | libs/adbconnection/adbconnection_server.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/adbconnection/adbconnection_server.cpp b/libs/adbconnection/adbconnection_server.cpp index aac9615e..e3d00313 100644 --- a/libs/adbconnection/adbconnection_server.cpp +++ b/libs/adbconnection/adbconnection_server.cpp @@ -69,7 +69,7 @@ void adbconnection_listen(void (*callback)(int fd, ProcessInfo process)) { events[0].events = EPOLLIN; events[0].data.fd = -1; if (epoll_ctl(epfd.get(), EPOLL_CTL_ADD, s.get(), &events[0]) != 0) { - LOG(FATAL) << "failed to register event with epoll fd"; + PLOG(FATAL) << "failed to register socket " << s.get() << " with epoll fd"; } while (true) { @@ -94,7 +94,7 @@ void adbconnection_listen(void (*callback)(int fd, ProcessInfo process)) { register_event.data.fd = client.get(); if (epoll_ctl(epfd.get(), EPOLL_CTL_ADD, client.get(), ®ister_event) != 0) { - PLOG(FATAL) << "failed to register JDWP client with epoll"; + PLOG(FATAL) << "failed to register JDWP client " << client.get() << " with epoll"; } pending_connections.emplace_back(std::move(client)); @@ -118,7 +118,7 @@ void adbconnection_listen(void (*callback)(int fd, ProcessInfo process)) { } if (epoll_ctl(epfd.get(), EPOLL_CTL_DEL, event.data.fd, nullptr) != 0) { - LOG(FATAL) << "failed to delete fd from JDWP epoll fd"; + PLOG(FATAL) << "failed to delete fd " << event.data.fd << " from JDWP epoll fd"; } pending_connections.erase(it); |