From: Yingxin Cheng Date: Wed, 12 Oct 2022 05:37:56 +0000 (+0800) Subject: crimson/net: print connection memory address as the identity X-Git-Tag: v18.1.0~1013^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F48457%2Fhead;p=ceph.git crimson/net: print connection memory address as the identity Signed-off-by: Yingxin Cheng --- diff --git a/src/crimson/net/SocketConnection.cc b/src/crimson/net/SocketConnection.cc index 65ab399156bc..f8664a9f711d 100644 --- a/src/crimson/net/SocketConnection.cc +++ b/src/crimson/net/SocketConnection.cc @@ -143,6 +143,7 @@ seastar::socket_address SocketConnection::get_local_address() const { } void SocketConnection::print(ostream& out) const { + out << (void*)this << " "; messenger.print(out); if (!protocol->socket) { out << " >> " << get_peer_name() << " " << peer_addr;