Lines Matching defs:category
13 #include "stats-event-category.h"
198 struct event_category *category, *parent;
201 *error_r = "Missing category name";
207 *error_r = "Unknown parent category";
211 category = event_category_find_registered(args[0]);
212 if (category == NULL) {
213 /* new category - create */
215 } else if (category->parent != parent) {
218 category->parent == NULL ? "" : category->parent->name,