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

Method call

src/common/ceph_context.cc:196–208  ·  view source on GitHub ↗

AdminSocketHook

Source from the content-addressed store, hash-verified

194
195 // AdminSocketHook
196 int call(std::string_view command, const cmdmap_t& cmdmap,
197 const bufferlist& inbl,
198 ceph::Formatter *f,
199 std::ostream& errss,
200 bufferlist& out) override {
201 if (command == "dump_mempools") {
202 f->open_object_section("mempools");
203 mempool::dump(f);
204 f->close_section();
205 return 0;
206 }
207 return -ENOSYS;
208 }
209};
210
211} // anonymous namespace

Callers

nothing calls this directly

Calls 3

dumpFunction · 0.70
open_object_sectionMethod · 0.45
close_sectionMethod · 0.45

Tested by

no test coverage detected