From: wang yong Date: Sun, 25 Feb 2018 03:51:19 +0000 (+0800) Subject: cephfs-journal-tool: add event time output X-Git-Tag: v13.0.2~76^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F20583%2Fhead;p=ceph.git cephfs-journal-tool: add event time output Fixes: http://tracker.ceph.com/issues/23116 Signed-off-by: Wang Yong --- diff --git a/src/tools/cephfs/EventOutput.cc b/src/tools/cephfs/EventOutput.cc index 663aefd685fb..56ebecf86ea6 100644 --- a/src/tools/cephfs/EventOutput.cc +++ b/src/tools/cephfs/EventOutput.cc @@ -98,7 +98,7 @@ void EventOutput::list() const detail = eu->type; } - std::cout << "0x" + std::cout <second.log_event->get_stamp() << " 0x" << std::hex << i->first << std::dec << " " << i->second.log_event->get_type_str() << ": " << " (" << detail << ")" << std::endl;