MCPcopy Create free account
hub / github.com/ceph/ceph / dump

Method dump

src/mon/Session.h:130–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 }
129
130 void dump(ceph::Formatter *f) const {
131 f->dump_stream("name") << name;
132 f->dump_stream("entity_name") << entity_name;
133 f->dump_object("addrs", addrs);
134 f->dump_object("socket_addr", socket_addr);
135 f->dump_string("con_type", ceph_entity_type_name(con_type));
136 f->dump_unsigned("con_features", con_features);
137 f->dump_stream("con_features_hex") << std::hex << con_features << std::dec;
138 f->dump_string("con_features_release",
139 ceph_release_name(ceph_release_from_features(con_features)));
140 f->dump_bool("open", !closed);
141 f->dump_object("caps", caps);
142 f->dump_bool("authenticated", authenticated);
143 f->dump_unsigned("global_id", global_id);
144 f->dump_stream("global_id_status") << global_id_status;
145 f->dump_unsigned("osd_epoch", osd_epoch);
146 f->dump_string("remote_host", remote_host);
147 }
148};
149
150

Callers

nothing calls this directly

Calls 8

ceph_entity_type_nameFunction · 0.85
ceph_release_nameFunction · 0.85
dump_streamMethod · 0.45
dump_objectMethod · 0.45
dump_stringMethod · 0.45
dump_unsignedMethod · 0.45
dump_boolMethod · 0.45

Tested by

no test coverage detected