Home
last modified time | relevance | path

Searched refs:MemoryDumpManager (Results 1 – 9 of 9) sorted by relevance

/external/libchrome/base/trace_event/
Dmemory_dump_manager.cc50 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 …]
Dmemory_dump_manager_unittest.cc67 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 …]
Dmemory_dump_manager.h40 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);
Dtrace_config_memory_test_util.h43 "}", 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()
Dmemory_allocator_dump.h22 class MemoryDumpManager; variable
Dtrace_config_unittest.cc635 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()
Dtrace_config.cc355 if (IsCategoryEnabled(MemoryDumpManager::kTraceCategory)) { in InitializeFromConfigDict()
434 if (IsCategoryEnabled(MemoryDumpManager::kTraceCategory)) { in InitializeFromStrings()
589 if (IsCategoryEnabled(MemoryDumpManager::kTraceCategory)) { in ToDict()
Dprocess_memory_dump.h34 class MemoryDumpManager; variable
Dtrace_log.cc262 MemoryDumpManager::GetInstance()->RegisterDumpProvider( in ThreadLocalEventBuffer()
272 MemoryDumpManager::GetInstance()->UnregisterDumpProvider(this); in ~ThreadLocalEventBuffer()
390 MemoryDumpManager::GetInstance()->RegisterDumpProvider(this, "TraceLog", in TraceLog()