Home | History | Annotate | Download | only in trace_event

Lines Matching refs:category

229         << "Disallowed category string";
242 for (const std::string& category : excluded_categories_) {
243 if (MatchPattern(category_group_token, category)) {
251 // One of the category of category_group_name is not present in
252 // excluded_ list. So, if it's not a disabled-by-default category,
265 // If the category group is not excluded, and there are no included patterns
266 // we consider this category group enabled, as long as it had categories
357 // category enabled. So, use the default periodic dump config.
379 for (const std::string& category : split) {
381 if (category.empty())
384 if (StartsWith(category, kSyntheticDelayCategoryFilterPrefix,
386 category.back() == ')') {
387 std::string synthetic_category = category.substr(
389 category.size() - strlen(kSyntheticDelayCategoryFilterPrefix) - 1);
395 } else if (category.front() == '-') {
397 // Remove '-' from category string.
398 excluded_categories_.push_back(category.substr(1));
399 } else if (category.compare(0, strlen(TRACE_DISABLED_BY_DEFAULT("")),
401 disabled_categories_.push_back(category);
403 included_categories_.push_back(category);
443 std::string category;
444 if (!included_list.GetString(i, &category))
446 if (category.compare(0, strlen(TRACE_DISABLED_BY_DEFAULT("")),
448 disabled_categories_.push_back(category);
450 included_categories_.push_back(category);
459 std::string category;
460 if (excluded_list.GetString(i, &category))
461 excluded_categories_.push_back(category);
487 for (const std::string& category : categories)
488 list->AppendString(category);
656 for (const std::string& category : values) {
659 StringAppendF(out, "%s%s", (included ? "" : "-"), category.c_str());
668 for (const std::string& category : delays) {
672 category.c_str());
680 for (const std::string& category : disabled_categories_) {
681 if (MatchPattern(category_name, category))
688 for (const std::string& category : included_categories_) {
689 if (MatchPattern(category_name, category))