From 5b6104a1f61cd2d7a4ae819a62c55c63d90a8928 Mon Sep 17 00:00:00 2001 From: lvshanchun Date: Tue, 13 Mar 2018 14:37:31 +0800 Subject: [PATCH] mon: add admin command to dump historic/slow ops Signed-off-by: lvshanchun --- src/common/options.cc | 28 +++++++++++++++++++++++ src/mon/Monitor.cc | 53 ++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 80 insertions(+), 1 deletion(-) diff --git a/src/common/options.cc b/src/common/options.cc index 25f70032848..f54c78212bc 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1121,6 +1121,34 @@ std::vector