Home
last modified time | relevance | path

Searched refs:memory_dump_config (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/base/trace_event/
Dtrace_config.cc92 const TraceConfig::MemoryDumpConfig& memory_dump_config) { in ResetMemoryDumpConfig() argument
94 memory_dump_config_ = memory_dump_config; in ResetMemoryDumpConfig()
384 const DictionaryValue* memory_dump_config = nullptr; in InitializeFromConfigDict() local
385 if (dict.GetDictionary(kMemoryDumpConfigParam, &memory_dump_config)) in InitializeFromConfigDict()
386 SetMemoryDumpConfigFromConfigDict(*memory_dump_config); in InitializeFromConfigDict()
434 const DictionaryValue& memory_dump_config) { in SetMemoryDumpConfigFromConfigDict() argument
438 if (memory_dump_config.GetList(kAllowedDumpModesParam, &allowed_modes_list)) { in SetMemoryDumpConfigFromConfigDict()
453 if (memory_dump_config.GetList(kTriggersParam, &trigger_list) && in SetMemoryDumpConfigFromConfigDict()
486 if (memory_dump_config.GetDictionary(kHeapProfilerOptions, in SetMemoryDumpConfigFromConfigDict()
558 auto memory_dump_config = std::make_unique<DictionaryValue>(); in ToDict() local
[all …]
Dtrace_config_unittest.cc612 ASSERT_EQ(2u, tc1.memory_dump_config().triggers.size()); in TEST()
615 tc1.memory_dump_config().triggers[0].min_time_between_dumps_ms); in TEST()
617 tc1.memory_dump_config().triggers[0].level_of_detail); in TEST()
620 tc1.memory_dump_config().triggers[1].min_time_between_dumps_ms); in TEST()
622 tc1.memory_dump_config().triggers[1].level_of_detail); in TEST()
625 tc1.memory_dump_config().heap_profiler_options.breakdown_threshold_bytes); in TEST()
633 ASSERT_EQ(1u, tc3.memory_dump_config().triggers.size()); in TEST()
634 EXPECT_EQ(1u, tc3.memory_dump_config().triggers[0].min_time_between_dumps_ms); in TEST()
636 tc3.memory_dump_config().triggers[0].level_of_detail); in TEST()
644 EXPECT_EQ(0u, tc.memory_dump_config().triggers.size()); in TEST()
[all …]
Dtrace_config.h257 void ResetMemoryDumpConfig(const MemoryDumpConfig& memory_dump_config);
263 const MemoryDumpConfig& memory_dump_config() const { in memory_dump_config() function
298 const DictionaryValue& memory_dump_config);
Dmemory_dump_manager.cc491 const TraceConfig::MemoryDumpConfig& memory_dump_config) { in SetupForTracing() argument
498 for (const auto& trigger : memory_dump_config.triggers) { in SetupForTracing()
Dmemory_dump_manager_unittest.cc239 mdm_->SetupForTracing(trace_config.memory_dump_config()); in EnableForTracingWithTraceConfig()
/external/cronet/base/trace_event/
Dtrace_config.cc107 const TraceConfig::MemoryDumpConfig& memory_dump_config) { in ResetMemoryDumpConfig() argument
109 memory_dump_config_ = memory_dump_config; in ResetMemoryDumpConfig()
424 const Value::Dict* memory_dump_config = in InitializeFromConfigDict() local
426 if (memory_dump_config) in InitializeFromConfigDict()
427 SetMemoryDumpConfigFromConfigDict(*memory_dump_config); in InitializeFromConfigDict()
508 const Value::Dict& memory_dump_config) { in SetMemoryDumpConfigFromConfigDict() argument
512 memory_dump_config.FindList(kAllowedDumpModesParam); in SetMemoryDumpConfigFromConfigDict()
526 const Value::List* trigger_list = memory_dump_config.FindList(kTriggersParam); in SetMemoryDumpConfigFromConfigDict()
563 memory_dump_config.FindDict(kHeapProfilerOptions); in SetMemoryDumpConfigFromConfigDict()
649 Value::Dict memory_dump_config; in ToValue() local
[all …]
Dtrace_config_unittest.cc664 ASSERT_EQ(2u, tc1.memory_dump_config().triggers.size()); in TEST()
667 tc1.memory_dump_config().triggers[0].min_time_between_dumps_ms); in TEST()
669 tc1.memory_dump_config().triggers[0].level_of_detail); in TEST()
672 tc1.memory_dump_config().triggers[1].min_time_between_dumps_ms); in TEST()
674 tc1.memory_dump_config().triggers[1].level_of_detail); in TEST()
677 tc1.memory_dump_config().heap_profiler_options.breakdown_threshold_bytes); in TEST()
685 ASSERT_EQ(1u, tc3.memory_dump_config().triggers.size()); in TEST()
686 EXPECT_EQ(1u, tc3.memory_dump_config().triggers[0].min_time_between_dumps_ms); in TEST()
688 tc3.memory_dump_config().triggers[0].level_of_detail); in TEST()
696 EXPECT_EQ(0u, tc.memory_dump_config().triggers.size()); in TEST()
[all …]
Dtrace_config.h281 void ResetMemoryDumpConfig(const MemoryDumpConfig& memory_dump_config);
287 const MemoryDumpConfig& memory_dump_config() const { in memory_dump_config() function
340 void SetMemoryDumpConfigFromConfigDict(const Value::Dict& memory_dump_config);
Dmemory_dump_manager.cc496 const TraceConfig::MemoryDumpConfig& memory_dump_config) { in SetupForTracing() argument
503 for (const auto& trigger : memory_dump_config.triggers) { in SetupForTracing()
Dmemory_dump_manager_unittest.cc246 mdm_->SetupForTracing(trace_config.memory_dump_config()); in EnableForTracingWithTraceConfig()
/external/perfetto/ui/src/common/recordingV2/
Drecording_config_utils.ts459 memory_dump_config: {},
462 configStruct.memory_dump_config = {