]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/net: print connection memory address as the identity
authorYingxin Cheng <yingxin.cheng@intel.com>
Wed, 12 Oct 2022 05:37:56 +0000 (13:37 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 12 Oct 2022 05:37:56 +0000 (13:37 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/net/SocketConnection.cc

index 65ab399156bc83ff60d0032fb48b6925f1001414..f8664a9f711dbb114c9c289f40ed5778da02ab42 100644 (file)
@@ -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;