Lines Matching refs:TraceConfig
66 void CheckDefaultTraceConfigBehavior(const TraceConfig& tc) { in CheckDefaultTraceConfigBehavior()
87 TraceConfig config("", "record-until-full"); in TEST()
93 config = TraceConfig("", "record-continuously"); in TEST()
99 config = TraceConfig("", "trace-to-console"); in TEST()
105 config = TraceConfig("", "record-as-much-as-possible"); in TEST()
112 config = TraceConfig("", "enable-systrace, record-continuously"); in TEST()
119 config = TraceConfig("", "enable-argument-filter,record-as-much-as-possible"); in TEST()
126 config = TraceConfig( in TEST()
136 config = TraceConfig( in TEST()
144 config = TraceConfig("", RECORD_UNTIL_FULL); in TEST()
150 config = TraceConfig("", RECORD_CONTINUOUSLY); in TEST()
156 config = TraceConfig("", ECHO_TO_CONSOLE); in TEST()
162 config = TraceConfig("", RECORD_AS_MUCH_AS_POSSIBLE); in TEST()
170 config = TraceConfig("included,-excluded,inc_pattern*,-exc_pattern*", ""); in TEST()
174 config = TraceConfig("only_inc_cat", ""); in TEST()
177 config = TraceConfig("-only_exc_cat", ""); in TEST()
180 config = TraceConfig("disabled-by-default-cc,-excluded", ""); in TEST()
184 config = TraceConfig("disabled-by-default-cc,included", ""); in TEST()
189 config = TraceConfig("", ""); in TEST()
196 config = TraceConfig("included,-excluded,inc_pattern*,-exc_pattern*", in TEST()
207 config = TraceConfig(" included , -excluded, inc_pattern*, ,-exc_pattern* ", in TEST()
218 config = TraceConfig("included,-excluded,inc_pattern*,-exc_pattern*", in TEST()
229 TraceConfig config("", "foo-bar-baz"); in TEST()
236 config = TraceConfig("arbitrary-category", "foo-bar-baz, enable-systrace"); in TEST()
246 TraceConfig tc; in TEST()
252 TraceConfig tc_asterisk("*", ""); in TEST()
256 TraceConfig tc_empty_category_filter("", ""); in TEST()
263 TraceConfig tc_empty_json_string(""); in TEST()
271 TraceConfig tc_dict(dict); in TEST()
278 TraceConfig tc_empty("", ""); in TEST()
279 TraceConfig tc_asterisk("*", ""); in TEST()
298 TraceConfig tc("foo,disabled-by-default-foo", ""); in TEST()
309 tc = TraceConfig("disabled-by-default-foo", ""); in TEST()
320 TraceConfig tc(dict); in TEST()
333 TraceConfig default_tc(*default_dict); in TEST()
346 TraceConfig custom_tc(*custom_dict); in TEST()
378 TraceConfig tc(config_string); in TEST()
412 const TraceConfig::EventFilterConfig& event_filter = tc.event_filters()[0]; in TEST()
434 TraceConfig tc2(config_string_2); in TEST()
455 TraceConfig tc(""); in TEST()
463 tc = TraceConfig("This is an invalid config string."); in TEST()
471 tc = TraceConfig("[\"This\", \"is\", \"not\", \"a\", \"dictionary\"]"); in TEST()
479 tc = TraceConfig("{\"record_mode\": invalid-value-needs-double-quote}"); in TEST()
489 tc = TraceConfig("{}"); in TEST()
496 tc = TraceConfig("{\"arbitrary-key\":\"arbitrary-value\"}"); in TEST()
510 tc = TraceConfig(invalid_config_string); in TEST()
520 tc = TraceConfig(invalid_config_string_2); in TEST()
530 TraceConfig tc; in TEST()
531 TraceConfig tc2("included,-excluded,inc_pattern*,-exc_pattern*", ""); in TEST()
545 TraceConfig tc("disabled-by-default-cc,-excluded", ""); in TEST()
554 tc = TraceConfig("disabled-by-default-cc,included", ""); in TEST()
563 tc = TraceConfig("-excluded", ""); in TEST()
590 TraceConfig tc; in TEST()
604 TraceConfig tc1(tc_str1); in TEST()
606 TraceConfig tc2( in TEST()
630 TraceConfig tc3(tc_str3); in TEST()
641 TraceConfig tc(TraceConfigMemoryTestUtil::GetTraceConfig_EmptyTriggers()); in TEST()
646 static_cast<uint32_t>(TraceConfig::MemoryDumpConfig::HeapProfiler:: in TEST()
652 TraceConfig tc(MemoryDumpManager::kTraceCategory, ""); in TEST()
657 static_cast<uint32_t>(TraceConfig::MemoryDumpConfig::HeapProfiler:: in TEST()