Searched refs:MemoryDumpManager (Results 1 – 9 of 9) sorted by relevance
/external/libchrome/base/trace_event/ |
D | memory_dump_manager.cc | 50 MemoryDumpManager* g_instance_for_testing = nullptr; 58 MemoryDumpManager::kTraceCategory, "GlobalMemoryDump", in OnGlobalDumpDone() 97 const char* const MemoryDumpManager::kTraceCategory = 101 const char* const MemoryDumpManager::kLogPrefix = "Memory-infra dump"; 104 const int MemoryDumpManager::kMaxConsecutiveFailuresCount = 3; 107 const uint64_t MemoryDumpManager::kInvalidTracingProcessId = 0; 110 const char* const MemoryDumpManager::kSystemAllocatorPoolName = 120 MemoryDumpManager* MemoryDumpManager::GetInstance() { in GetInstance() 124 return Singleton<MemoryDumpManager, in GetInstance() 125 LeakySingletonTraits<MemoryDumpManager>>::get(); in GetInstance() [all …]
|
D | memory_dump_manager_unittest.cc | 67 MemoryDumpManager* mdm = MemoryDumpManager::GetInstance(); in RegisterDumpProvider() 81 MemoryDumpManager* mdm = MemoryDumpManager::GetInstance(); in RegisterDumpProviderWithSequencedTaskRunner() 115 return MemoryDumpManager::kInvalidTracingProcessId; in GetTracingProcessId() 194 mdm_.reset(new MemoryDumpManager()); in SetUp() 195 MemoryDumpManager::SetInstanceForTesting(mdm_.get()); in SetUp() 196 ASSERT_EQ(mdm_.get(), MemoryDumpManager::GetInstance()); in SetUp() 201 MemoryDumpManager::SetInstanceForTesting(nullptr); in TearDown() 251 return MemoryDumpManager::kMaxConsecutiveFailuresCount; in GetMaxConsecutiveFailuresCount() 255 std::unique_ptr<MemoryDumpManager> mdm_; 283 EnableTracingWithLegacyCategories(MemoryDumpManager::kTraceCategory); in TEST_F() [all …]
|
D | memory_dump_manager.h | 40 class BASE_EXPORT MemoryDumpManager : public TraceLog::EnabledStateObserver { 49 static MemoryDumpManager* GetInstance(); 150 friend std::default_delete<MemoryDumpManager>; // For the testing instance. 151 friend struct DefaultSingletonTraits<MemoryDumpManager>; 304 MemoryDumpManager(); 305 ~MemoryDumpManager() override; 307 static void SetInstanceForTesting(MemoryDumpManager* instance); 380 DISALLOW_COPY_AND_ASSIGN(MemoryDumpManager); 400 MemoryDumpManager::GetInstance()->CreateProcessDump(args, callback);
|
D | trace_config_memory_test_util.h | 43 "}", MemoryDumpManager::kTraceCategory, light_period, heavy_period); in GetTraceConfig_PeriodicTriggers() 61 "}", MemoryDumpManager::kTraceCategory); in GetTraceConfig_EmptyTriggers() 74 "}", MemoryDumpManager::kTraceCategory); in GetTraceConfig_NoTriggers() 96 "}", MemoryDumpManager::kTraceCategory, period_ms); in GetTraceConfig_BackgroundTrigger()
|
D | memory_allocator_dump.h | 22 class MemoryDumpManager; variable
|
D | trace_config_unittest.cc | 635 EXPECT_TRUE(tc1.IsCategoryGroupEnabled(MemoryDumpManager::kTraceCategory)); in TEST() 654 EXPECT_TRUE(tc2.IsCategoryGroupEnabled(MemoryDumpManager::kTraceCategory)); in TEST() 674 TraceConfig tc(MemoryDumpManager::kTraceCategory, ""); in TEST() 675 EXPECT_TRUE(tc.IsCategoryGroupEnabled(MemoryDumpManager::kTraceCategory)); in TEST()
|
D | trace_config.cc | 355 if (IsCategoryEnabled(MemoryDumpManager::kTraceCategory)) { in InitializeFromConfigDict() 434 if (IsCategoryEnabled(MemoryDumpManager::kTraceCategory)) { in InitializeFromStrings() 589 if (IsCategoryEnabled(MemoryDumpManager::kTraceCategory)) { in ToDict()
|
D | process_memory_dump.h | 34 class MemoryDumpManager; variable
|
D | trace_log.cc | 262 MemoryDumpManager::GetInstance()->RegisterDumpProvider( in ThreadLocalEventBuffer() 272 MemoryDumpManager::GetInstance()->UnregisterDumpProvider(this); in ~ThreadLocalEventBuffer() 390 MemoryDumpManager::GetInstance()->RegisterDumpProvider(this, "TraceLog", in TraceLog()
|