]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/crimson/monc: start/stop perf counter
authorKefu Chai <kchai@redhat.com>
Fri, 21 Dec 2018 10:34:22 +0000 (18:34 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 18 Jan 2019 04:30:15 +0000 (12:30 +0800)
commit9622fac190da6fa1ad6a3d28f8a9bd2565043127
tree3d0d82c04af9efb4dd4e8b7762f95b2df36a278e
parenta37d19dc9b06d9bc7a8f6443fe99c9bb3631b23b
test/crimson/monc: start/stop perf counter

in CephContext::CephContext(), we assume that
ceph::common::local_perf_coll() is ready when a CephContext is to be
contructed. so we need to prepare start it before creating CephContext.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/crimson/test_monc.cc