30 #include "phosphor/platform/core.h" 39 using AtomicCategoryStatus = std::atomic<CategoryStatus>;
53 static constexpr
int registry_size = 250;
70 const AtomicCategoryStatus& getStatus(
const char* category_group);
78 void updateEnabled(
const std::vector<std::string>& enabled,
79 const std::vector<std::string>& disabled);
103 const std::string& category_group,
104 const std::vector<std::string>& enabled,
105 const std::vector<std::string>& disabled);
124 mutable std::mutex mutex;
126 std::array<std::string, registry_size> groups;
127 static constexpr
int index_category_limit = 1;
128 static constexpr
int index_metadata = 2;
129 static constexpr
int index_non_default_categories = 3;
131 std::array<AtomicCategoryStatus, registry_size> group_statuses;
132 std::atomic<size_t> group_count;
134 std::vector<std::string> enabled_categories;
135 std::vector<std::string> disabled_categories;
Definition: category_registry.h:48
CategoryStatus
Definition: category_registry.h:37
Definition: category_registry.h:32
Definition: stats_callback.h:45