summaryrefslogtreecommitdiffstats
path: root/src/test/perf_counters.cc
diff options
context:
space:
mode:
authorSage Weil <sage.weil@dreamhost.com>2011-10-27 01:00:45 +0200
committerSage Weil <sage.weil@dreamhost.com>2011-10-27 01:00:45 +0200
commit180c744bf30aea141ceacee240d67e1247144abb (patch)
tree7d0621514cfb5cea8e9b9caa64a4b4b948a858d4 /src/test/perf_counters.cc
parentobjecter: instrument with perfcounter (diff)
downloadceph-180c744bf30aea141ceacee240d67e1247144abb.tar.xz
ceph-180c744bf30aea141ceacee240d67e1247144abb.zip
perfcounters: fix accessor name
FreakingCamelCaps Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Diffstat (limited to 'src/test/perf_counters.cc')
-rw-r--r--src/test/perf_counters.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/perf_counters.cc b/src/test/perf_counters.cc
index fa4f178d839..9d8b13dcf7d 100644
--- a/src/test/perf_counters.cc
+++ b/src/test/perf_counters.cc
@@ -75,7 +75,7 @@ static PerfCounters* setup_test_perfcounters1(CephContext *cct)
}
TEST(PerfCounters, SinglePerfCounters) {
- PerfCountersCollection *coll = g_ceph_context->GetPerfCountersCollection();
+ PerfCountersCollection *coll = g_ceph_context->get_perfcounters_collection();
PerfCounters* fake_pf = setup_test_perfcounters1(g_ceph_context);
coll->add(fake_pf);
g_ceph_context->_conf->set_val_or_die("admin_socket", get_rand_socket_path());
@@ -115,7 +115,7 @@ static PerfCounters* setup_test_perfcounter2(CephContext *cct)
}
TEST(PerfCounters, MultiplePerfCounters) {
- PerfCountersCollection *coll = g_ceph_context->GetPerfCountersCollection();
+ PerfCountersCollection *coll = g_ceph_context->get_perfcounters_collection();
coll->clear();
PerfCounters* fake_pf1 = setup_test_perfcounters1(g_ceph_context);
PerfCounters* fake_pf2 = setup_test_perfcounter2(g_ceph_context);