]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/perf_counters: Add 'perf reset all|perfcountername' for 'ceph
authorJianpeng Ma <jianpeng.ma@intel.com>
Wed, 3 Dec 2014 02:10:03 +0000 (10:10 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Wed, 3 Dec 2014 02:10:03 +0000 (10:10 +0800)
commit5f8186b1062aa3f5d94a0df5a73b6a360a953caf
tree3775cdda8a7bf9c9201c5117c0b5b859eb897b89
parentf152bc69d0586cc81f5d5ec03a646f52169e364c
common/perf_counters: Add 'perf reset all|perfcountername' for 'ceph
--admin-daemon'

Using this command, we can reset all perfcounters or reset on specified
perfcounter.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
src/common/ceph_context.cc
src/common/perf_counters.cc
src/common/perf_counters.h