]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: PaxosService: mark events
authorJoao Eduardo Luis <joao@suse.de>
Wed, 10 Jun 2015 00:55:10 +0000 (01:55 +0100)
committerJoao Eduardo Luis <joao@suse.de>
Thu, 16 Jul 2015 17:06:08 +0000 (18:06 +0100)
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
src/mon/PaxosService.cc

index c7f19e7b0069770eef404d75120cbb70102934de..6126970e9407656788cc6e55d1d7db06e0624666 100644 (file)
@@ -37,6 +37,7 @@ static ostream& _prefix(std::ostream *_dout, Monitor *mon, Paxos *paxos, string
 bool PaxosService::dispatch(MonOpRequestRef op)
 {
   PaxosServiceMessage *m = static_cast<PaxosServiceMessage*>(op->get_req());
+  op->mark_event("psvc:dispatch");
 
   dout(10) << "dispatch " << *m << " from " << m->get_orig_source_inst() << dendl;