]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common: move base counters out of labeled perf counters
authorAli Maredia <amaredia@redhat.com>
Wed, 30 Nov 2022 14:00:52 +0000 (09:00 -0500)
committerAli Maredia <amaredia@redhat.com>
Wed, 30 Nov 2022 14:00:52 +0000 (09:00 -0500)
Signed-off-by: Ali Maredia <amaredia@redhat.com>
src/common/perf_counters_cache.h

index 3e140f250f1ba1bbe792d0dcf9253335b6b62b5d..d165ccc82bae677a5ffd52f9eb251a824a55dcd8 100644 (file)
@@ -154,7 +154,7 @@ public:
       std::function<void(PerfCountersBuilder*)> _lpcb_init, std::string _base_counters_name) : cct(_cct), 
       target_size(_target_size), lower_bound(_lower_bound), upper_bound(_upper_bound), 
       lpcb_init(_lpcb_init), base_counters_name(_base_counters_name) {
-      base_counters = add(base_counters_name, true);
+      base_counters = add(base_counters_name, false);
   }
 
   ~PerfCountersCache() {}