Home
last modified time | relevance | path

Searched refs:MemoryDumpLevelOfDetail (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/base/trace_event/
Dmemory_dump_request_args.cc29 const MemoryDumpLevelOfDetail& level_of_detail) { in MemoryDumpLevelOfDetailToString()
31 case MemoryDumpLevelOfDetail::BACKGROUND: in MemoryDumpLevelOfDetailToString()
33 case MemoryDumpLevelOfDetail::LIGHT: in MemoryDumpLevelOfDetailToString()
35 case MemoryDumpLevelOfDetail::DETAILED: in MemoryDumpLevelOfDetailToString()
42 MemoryDumpLevelOfDetail StringToMemoryDumpLevelOfDetail( in StringToMemoryDumpLevelOfDetail()
45 return MemoryDumpLevelOfDetail::BACKGROUND; in StringToMemoryDumpLevelOfDetail()
47 return MemoryDumpLevelOfDetail::LIGHT; in StringToMemoryDumpLevelOfDetail()
49 return MemoryDumpLevelOfDetail::DETAILED; in StringToMemoryDumpLevelOfDetail()
51 return MemoryDumpLevelOfDetail::LAST; in StringToMemoryDumpLevelOfDetail()
Dmemory_dump_request_args.h31 enum class MemoryDumpLevelOfDetail : uint32_t { enum
61 MemoryDumpLevelOfDetail level_of_detail;
68 MemoryDumpLevelOfDetail level_of_detail;
76 const MemoryDumpLevelOfDetail& level_of_detail);
78 BASE_EXPORT MemoryDumpLevelOfDetail
Dmemory_dump_manager_unittest.cc45 return arg.level_of_detail == MemoryDumpLevelOfDetail::DETAILED;
49 return arg.level_of_detail == MemoryDumpLevelOfDetail::LIGHT;
53 return arg.level_of_detail == MemoryDumpLevelOfDetail::BACKGROUND;
225 MemoryDumpLevelOfDetail level_of_detail) { in RequestGlobalDumpAndWait()
278 MemoryDumpLevelOfDetail::DETAILED); in TEST_F()
288 MemoryDumpLevelOfDetail::DETAILED); in TEST_F()
301 MemoryDumpLevelOfDetail::DETAILED); in TEST_F()
317 MemoryDumpLevelOfDetail::DETAILED); in TEST_F()
328 MemoryDumpLevelOfDetail::LIGHT); in TEST_F()
362 MemoryDumpLevelOfDetail::DETAILED); in TEST_F()
[all …]
Dmemory_dump_manager.cc339 MemoryDumpLevelOfDetail level_of_detail, in RequestGlobalDump()
382 MemoryDumpLevelOfDetail level_of_detail) { in RequestGlobalDump()
398 CHECK_EQ(MemoryDumpLevelOfDetail::BACKGROUND, args.level_of_detail); in CreateProcessDump()
473 MemoryDumpLevelOfDetail::BACKGROUND && in SetupNextMemoryDump()
738 bool MemoryDumpManager::IsDumpModeAllowed(MemoryDumpLevelOfDetail dump_mode) { in IsDumpModeAllowed()
832 case MemoryDumpLevelOfDetail::BACKGROUND: in Start()
833 DCHECK(mdm->IsDumpModeAllowed(MemoryDumpLevelOfDetail::BACKGROUND)); in Start()
835 case MemoryDumpLevelOfDetail::LIGHT: in Start()
837 DCHECK(mdm->IsDumpModeAllowed(MemoryDumpLevelOfDetail::LIGHT)); in Start()
840 case MemoryDumpLevelOfDetail::DETAILED: in Start()
[all …]
Dmemory_dump_manager.h108 MemoryDumpLevelOfDetail level_of_detail,
113 MemoryDumpLevelOfDetail level_of_detail);
120 bool IsDumpModeAllowed(MemoryDumpLevelOfDetail dump_mode);
Dtrace_config.cc61 MemoryDumpLevelOfDetail::DETAILED};
64 MemoryDumpLevelOfDetail::LIGHT};
81 std::set<MemoryDumpLevelOfDetail> GetDefaultAllowedMemoryDumpModes() { in GetDefaultAllowedMemoryDumpModes()
82 std::set<MemoryDumpLevelOfDetail> all_modes; in GetDefaultAllowedMemoryDumpModes()
83 for (uint32_t mode = static_cast<uint32_t>(MemoryDumpLevelOfDetail::FIRST); in GetDefaultAllowedMemoryDumpModes()
84 mode <= static_cast<uint32_t>(MemoryDumpLevelOfDetail::LAST); mode++) { in GetDefaultAllowedMemoryDumpModes()
85 all_modes.insert(static_cast<MemoryDumpLevelOfDetail>(mode)); in GetDefaultAllowedMemoryDumpModes()
Dprocess_memory_dump.cc181 if (dump_args_.level_of_detail == MemoryDumpLevelOfDetail::BACKGROUND && in AddAllocatorDumpInternal()
213 if (dump_args_.level_of_detail == MemoryDumpLevelOfDetail::BACKGROUND) in CreateSharedGlobalAllocatorDump()
231 if (dump_args_.level_of_detail == MemoryDumpLevelOfDetail::BACKGROUND) in CreateWeakSharedGlobalAllocatorDump()
357 if (dump_args_.level_of_detail == MemoryDumpLevelOfDetail::BACKGROUND) in AddSuballocation()
Dtrace_config.h55 MemoryDumpLevelOfDetail level_of_detail;
77 std::set<MemoryDumpLevelOfDetail> allowed_dump_modes;
Dmemory_allocator_dump_unittest.cc132 MemoryDumpArgs dump_args = {MemoryDumpLevelOfDetail::DETAILED}; in TEST()
179 MemoryDumpArgs dump_args = {MemoryDumpLevelOfDetail::DETAILED}; in TEST()
Dmemory_allocator_dump.cc85 MemoryDumpLevelOfDetail::BACKGROUND) { in AddString()
Dprocess_memory_dump_unittest.cc22 const MemoryDumpArgs kDetailedDumpArgs = {MemoryDumpLevelOfDetail::DETAILED};
238 MemoryDumpArgs background_args = {MemoryDumpLevelOfDetail::BACKGROUND}; in TEST()
Dtrace_config_unittest.cc639 EXPECT_EQ(MemoryDumpLevelOfDetail::LIGHT, in TEST()
643 EXPECT_EQ(MemoryDumpLevelOfDetail::DETAILED, in TEST()
657 EXPECT_EQ(MemoryDumpLevelOfDetail::BACKGROUND, in TEST()
Dmalloc_dump_provider.cc186 if (args.level_of_detail == MemoryDumpLevelOfDetail::DETAILED) { in OnMemoryDump()