Home
last modified time | relevance | path

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

/external/libchrome/base/trace_event/
Dtrace_config.cc97 const TraceConfig::MemoryDumpConfig& memory_dump_config) { in ResetMemoryDumpConfig() argument
99 memory_dump_config_ = memory_dump_config; in ResetMemoryDumpConfig()
346 const DictionaryValue* memory_dump_config = nullptr; in InitializeFromConfigDict() local
347 if (dict.GetDictionary(kMemoryDumpConfigParam, &memory_dump_config)) in InitializeFromConfigDict()
348 SetMemoryDumpConfigFromConfigDict(*memory_dump_config); in InitializeFromConfigDict()
396 const DictionaryValue& memory_dump_config) { in SetMemoryDumpConfigFromConfigDict() argument
400 if (memory_dump_config.GetList(kAllowedDumpModesParam, &allowed_modes_list)) { in SetMemoryDumpConfigFromConfigDict()
415 if (memory_dump_config.GetList(kTriggersParam, &trigger_list) && in SetMemoryDumpConfigFromConfigDict()
448 if (memory_dump_config.GetDictionary(kHeapProfilerOptions, in SetMemoryDumpConfigFromConfigDict()
532 auto memory_dump_config = MakeUnique<DictionaryValue>(); in ToDict() local
[all …]
Dtrace_config_unittest.cc647 ASSERT_EQ(2u, tc1.memory_dump_config().triggers.size()); in TEST()
650 tc1.memory_dump_config().triggers[0].min_time_between_dumps_ms); in TEST()
652 tc1.memory_dump_config().triggers[0].level_of_detail); in TEST()
655 tc1.memory_dump_config().triggers[1].min_time_between_dumps_ms); in TEST()
657 tc1.memory_dump_config().triggers[1].level_of_detail); in TEST()
660 tc1.memory_dump_config().heap_profiler_options.breakdown_threshold_bytes); in TEST()
668 ASSERT_EQ(1u, tc3.memory_dump_config().triggers.size()); in TEST()
669 EXPECT_EQ(1u, tc3.memory_dump_config().triggers[0].min_time_between_dumps_ms); in TEST()
671 tc3.memory_dump_config().triggers[0].level_of_detail); in TEST()
678 ASSERT_EQ(1u, tc4.memory_dump_config().triggers.size()); in TEST()
[all …]
Dtrace_config.h242 void ResetMemoryDumpConfig(const MemoryDumpConfig& memory_dump_config);
248 const MemoryDumpConfig& memory_dump_config() const { in memory_dump_config() function
278 const DictionaryValue& memory_dump_config);
Dmemory_dump_manager.cc850 const TraceConfig::MemoryDumpConfig& memory_dump_config = in OnTraceLogEnabled() local
851 trace_config.memory_dump_config(); in OnTraceLogEnabled()
854 session_state->SetAllowedDumpModes(memory_dump_config.allowed_dump_modes); in OnTraceLogEnabled()
856 memory_dump_config.heap_profiler_options.breakdown_threshold_bytes); in OnTraceLogEnabled()
899 DCHECK_LE(memory_dump_config.triggers.size(), 3u); in OnTraceLogEnabled()
900 for (const auto& trigger : memory_dump_config.triggers) { in OnTraceLogEnabled()