/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
D | trace_event_unittest.py | 15 from py_trace_event import trace_event 29 trace_event.trace_enable(self._log_path, format=format) 33 trace_event.trace_disable() 36 orig_impl = trace_event.trace_event_impl 38 trace_event.trace_event_impl = None 39 self.assertFalse(trace_event.trace_can_enable()) 41 trace_event.trace_event_impl = orig_impl 44 self.assertTrue(trace_event.trace_can_enable()) 47 self.assertFalse(trace_event.trace_is_enabled()) 51 self.assertTrue(trace_event.trace_is_enabled()) [all …]
|
/external/libchrome/base/memory/ |
D | shared_memory_tracker.cc | 31 trace_event::MemoryAllocatorDumpGuid 34 return trace_event::MemoryAllocatorDumpGuid(dump_name); in GetGlobalDumpIdForTracing() 38 const trace_event::MemoryAllocatorDump* 41 trace_event::ProcessMemoryDump* pmd) { in GetOrCreateSharedMemoryDump() 47 const trace_event::MemoryAllocatorDump* 50 trace_event::ProcessMemoryDump* pmd) { in GetOrCreateSharedMemoryDump() 87 trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider( in SharedMemoryTracker() 93 bool SharedMemoryTracker::OnMemoryDump(const trace_event::MemoryDumpArgs& args, in OnMemoryDump() 94 trace_event::ProcessMemoryDump* pmd) { in OnMemoryDump() 97 const trace_event::MemoryAllocatorDump* dump = in OnMemoryDump() [all …]
|
D | shared_memory_tracker.h | 18 namespace trace_event { 25 class BASE_EXPORT SharedMemoryTracker : public trace_event::MemoryDumpProvider { 32 static trace_event::MemoryAllocatorDumpGuid GetGlobalDumpIdForTracing( 38 static const trace_event::MemoryAllocatorDump* GetOrCreateSharedMemoryDump( 40 trace_event::ProcessMemoryDump* pmd); 43 static const trace_event::MemoryAllocatorDump* GetOrCreateSharedMemoryDump( 45 trace_event::ProcessMemoryDump* pmd); 63 bool OnMemoryDump(const trace_event::MemoryDumpArgs& args, 64 trace_event::ProcessMemoryDump* pmd) override; 66 static const trace_event::MemoryAllocatorDump* [all …]
|
D | discardable_memory.h | 13 namespace trace_event { 71 virtual trace_event::MemoryAllocatorDump* CreateMemoryAllocatorDump( 73 trace_event::ProcessMemoryDump* pmd) const = 0;
|
/external/libchrome/libchrome_tools/patches/ |
D | libchrome-Introduce-stub-ConvertableToTraceFormat.patch | 11 base/trace_event/trace_event.h | 13 ++++++++++++- 14 diff --git a/base/trace_event/trace_event.h b/base/trace_event/trace_event.h 16 --- a/base/trace_event/trace_event.h 17 +++ b/base/trace_event/trace_event.h 19 #include "base/trace_event/common/trace_event_common.h" 20 #include "base/trace_event/heap_profiler.h" 50 } // namespace trace_event
|
/external/libchrome/libchrome_tools/patch/ |
D | values.patch | 1 # we don't support trace_event on libchrome 9 -#include "base/trace_event/memory_usage_estimator.h" 11 +// #include "base/trace_event/memory_usage_estimator.h" 22 - return base::trace_event::EstimateMemoryUsage(string_value_); 24 - return base::trace_event::EstimateMemoryUsage(binary_value_); 26 - return base::trace_event::EstimateMemoryUsage(dict_); 28 - return base::trace_event::EstimateMemoryUsage(list_); 37 +// return base::trace_event::EstimateMemoryUsage(string_value_); 39 +// return base::trace_event::EstimateMemoryUsage(binary_value_); 41 +// return base::trace_event::EstimateMemoryUsage(dict_); [all …]
|
D | trace_event.patch | 1 --- a/base/trace_event/trace_event.h 2 +++ b/base/trace_event/trace_event.h 9 +#include "base/trace_event/common/trace_event_common.h" 10 +#include "base/trace_event/heap_profiler.h" 27 +namespace trace_event { 40 +} // namespace trace_event 48 } // namespace trace_event 53 --- a/base/trace_event/heap_profiler.h 54 +++ b/base/trace_event/heap_profiler.h 76 #include "base/trace_event/heap_profiler_allocation_context_tracker.h" [all …]
|
D | mojom_disable_trace_and_mem_dump.patch | 9 -#include "base/trace_event/memory_dump_manager.h" 10 +// #include "base/trace_event/memory_dump_manager.h" 18 - base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider( 20 + // base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider( 29 - base::trace_event::MemoryDumpManager::GetInstance() 31 + // base::trace_event::MemoryDumpManager::GetInstance() 44 -#include "base/trace_event/memory_allocator_dump.h" 45 -#include "base/trace_event/memory_dump_manager.h" 46 -#include "base/trace_event/memory_dump_provider.h" 47 -#include "base/trace_event/trace_event.h" [all …]
|
D | handle_table.patch | 9 -#include "base/trace_event/memory_dump_manager.h" 10 +// #include "base/trace_event/memory_dump_manager.h" 68 -bool HandleTable::OnMemoryDump(const base::trace_event::MemoryDumpArgs& args, 69 - base::trace_event::ProcessMemoryDump* pmd) { 90 - base::trace_event::MemoryAllocatorDump* inner_dump = 94 - base::trace_event::MemoryAllocatorDump::kNameObjectCount, 95 - base::trace_event::MemoryAllocatorDump::kUnitsObjects, entry.second); 100 +// bool HandleTable::OnMemoryDump(const base::trace_event::MemoryDumpArgs& args, 101 +// base::trace_event::ProcessMemoryDump* pmd) { 122 +// base::trace_event::MemoryAllocatorDump* inner_dump = [all …]
|
/external/libchrome/base/trace_event/ |
D | heap_profiler_event_filter.cc | 14 namespace trace_event { namespace 39 const TraceEvent& trace_event) const { in FilterTraceEvent() 44 if (trace_event.flags() & TRACE_EVENT_FLAG_COPY) in FilterTraceEvent() 48 trace_event.category_group_enabled()); in FilterTraceEvent() 50 trace_event.name()}; in FilterTraceEvent() 51 if (trace_event.phase() == TRACE_EVENT_PHASE_BEGIN || in FilterTraceEvent() 52 trace_event.phase() == TRACE_EVENT_PHASE_COMPLETE) { in FilterTraceEvent() 54 } else if (trace_event.phase() == TRACE_EVENT_PHASE_END) { in FilterTraceEvent()
|
D | trace_event.h | 34 namespace trace_event { 115 (base::trace_event::TraceCategory::ENABLED_FOR_RECORDING | \ 116 base::trace_event::TraceCategory::ENABLED_FOR_ETW_EXPORT)) 120 (base::trace_event::TraceCategory::ENABLED_FOR_RECORDING | \ 121 base::trace_event::TraceCategory::ENABLED_FOR_ETW_EXPORT | \ 122 base::trace_event::TraceCategory::ENABLED_FOR_FILTERING)) 138 base::trace_event::TraceLog::GetCategoryGroupEnabled 144 base::trace_event::TraceLog::GetInstance()->GetNumTracesRecorded 161 base::trace_event::TraceLog::GetInstance()->AddTraceEvent 180 base::trace_event::TraceLog::GetInstance()->AddTraceEventWithBindId [all …]
|
D | heap_profiler_allocation_context.h | 16 namespace trace_event { 116 struct BASE_EXPORT hash<base::trace_event::StackFrame> { 117 size_t operator()(const base::trace_event::StackFrame& frame) const; 121 struct BASE_EXPORT hash<base::trace_event::Backtrace> { 122 size_t operator()(const base::trace_event::Backtrace& backtrace) const; 126 struct BASE_EXPORT hash<base::trace_event::AllocationContext> { 127 size_t operator()(const base::trace_event::AllocationContext& context) const;
|
D | blame_context.cc | 12 namespace trace_event { namespace 39 trace_event::TraceLog::GetInstance()->RemoveAsyncEnabledStateObserver(this); in ~BlameContext() 63 std::unique_ptr<trace_event::TracedValue> snapshot( in TakeSnapshot() 64 new trace_event::TracedValue); in TakeSnapshot() 69 std::unique_ptr<trace_event::ConvertableToTraceFormat> arg_values[1] = { in TakeSnapshot() 84 void BlameContext::AsValueInto(trace_event::TracedValue* state) { in AsValueInto() 101 trace_event::TraceLog::GetInstance()->AddAsyncEnabledStateObserver( in Initialize()
|
D | heap_profiler.h | 65 using base::trace_event::AllocationContextTracker; in HeapProfilerScopedTaskExecutionTracker() 74 using base::trace_event::AllocationContextTracker; in ~HeapProfilerScopedTaskExecutionTracker() 90 using base::trace_event::AllocationContextTracker; in HeapProfilerScopedStackFrame() 99 using base::trace_event::AllocationContextTracker; in ~HeapProfilerScopedStackFrame() 114 using base::trace_event::AllocationContextTracker; in HeapProfilerScopedIgnore() 123 using base::trace_event::AllocationContextTracker; in ~HeapProfilerScopedIgnore()
|
D | trace_log.cc | 60 namespace trace_event { namespace 102 void InitializeMetadataEvent(TraceEvent* trace_event, in InitializeMetadataEvent() argument 107 if (!trace_event) in InitializeMetadataEvent() 114 trace_event->Initialize( in InitializeMetadataEvent() 291 TraceEvent* trace_event = chunk_->AddTraceEvent(&event_index); in AddTraceEvent() local 292 if (trace_event && handle) in AddTraceEvent() 295 return trace_event; in AddTraceEvent() 488 if (base::trace_event::TraceEventETWExport::IsCategoryGroupEnabled( in UpdateCategoryState() 808 TraceEvent* trace_event = thread_shared_chunk_->AddTraceEvent(&event_index); in AddEventToThreadSharedChunkWhileLocked() local 809 if (trace_event && handle) { in AddEventToThreadSharedChunkWhileLocked() [all …]
|
D | blame_context.h | 16 namespace trace_event { 20 namespace trace_event { 37 : public trace_event::TraceLog::AsyncEnabledStateObserver { 112 virtual void AsValueInto(trace_event::TracedValue* state);
|
D | event_name_filter.cc | 10 namespace trace_event { namespace 21 bool EventNameFilter::FilterTraceEvent(const TraceEvent& trace_event) const { in FilterTraceEvent() 22 return event_names_whitelist_->count(trace_event.name()) != 0; in FilterTraceEvent()
|
D | memory_dump_manager_test_utils.h | 13 namespace trace_event { 16 base::trace_event::MemoryDumpType dump_type, in RequestGlobalDumpForInProcessTesting() 17 base::trace_event::MemoryDumpLevelOfDetail level_of_detail) { in RequestGlobalDumpForInProcessTesting()
|
/external/libchrome/base/test/ |
D | trace_to_file.cc | 56 trace_event::TraceLog::GetInstance()->SetEnabled( in BeginTracing() 57 trace_event::TraceConfig(categories, trace_event::RECORD_UNTIL_FULL), in BeginTracing() 58 trace_event::TraceLog::RECORDING_MODE); in BeginTracing() 78 trace_event::TraceResultBuffer* buffer, in OnTraceDataCollected() 91 trace_event::TraceLog::GetInstance()->SetDisabled(); in EndTracingIfNeeded() 93 trace_event::TraceResultBuffer buffer; in EndTracingIfNeeded() 98 trace_event::TraceLog::GetInstance()->Flush( in EndTracingIfNeeded()
|
D | test_pending_task.cc | 43 void TestPendingTask::AsValueInto(base::trace_event::TracedValue* state) const { 59 std::unique_ptr<base::trace_event::ConvertableToTraceFormat> 61 std::unique_ptr<base::trace_event::TracedValue> state( 62 new base::trace_event::TracedValue());
|
/external/libchrome/mojo/public/cpp/base/ |
D | memory_allocator_dump_cross_process_uid_unittest.cc | 14 base::trace_event::MemoryAllocatorDumpGuid in(0); in TEST() 15 base::trace_event::MemoryAllocatorDumpGuid out; in TEST() 23 base::trace_event::MemoryAllocatorDumpGuid in(12345); in TEST() 24 base::trace_event::MemoryAllocatorDumpGuid out; in TEST() 33 base::trace_event::MemoryAllocatorDumpGuid in("12345"); in TEST() 34 base::trace_event::MemoryAllocatorDumpGuid out; in TEST()
|
D | memory_allocator_dump_cross_process_uid_mojom_traits.cc | 11 base::trace_event::MemoryAllocatorDumpGuid>:: 13 base::trace_event::MemoryAllocatorDumpGuid* out) { in Read() 18 *out = base::trace_event::MemoryAllocatorDumpGuid(data.value()); in Read()
|
D | memory_allocator_dump_cross_process_uid_mojom_traits.h | 17 base::trace_event::MemoryAllocatorDumpGuid> { in COMPONENT_EXPORT() 18 static uint64_t value(const base::trace_event::MemoryAllocatorDumpGuid& id) { in COMPONENT_EXPORT() 24 base::trace_event::MemoryAllocatorDumpGuid* out); in COMPONENT_EXPORT()
|
/external/libchrome/mojo/core/ |
D | handle_table_unittest.cc | 18 using base::trace_event::MemoryAllocatorDump; 41 void CheckNameAndValue(base::trace_event::ProcessMemoryDump* pmd, in CheckNameAndValue() 44 base::trace_event::MemoryAllocatorDump* mad = pmd->GetAllocatorDump(name); in CheckNameAndValue() 63 base::trace_event::MemoryDumpArgs args = { in TEST() 64 base::trace_event::MemoryDumpLevelOfDetail::DETAILED}; in TEST() 65 base::trace_event::ProcessMemoryDump pmd(args); in TEST()
|
/external/openscreen/third_party/chromium_quic/build/base/ |
D | BUILD.gn | 479 "../../src/base/trace_event/blame_context.cc", 480 "../../src/base/trace_event/blame_context.h", 481 "../../src/base/trace_event/category_registry.cc", 482 "../../src/base/trace_event/category_registry.h", 483 "../../src/base/trace_event/common/trace_event_common.h", 484 "../../src/base/trace_event/event_name_filter.cc", 485 "../../src/base/trace_event/event_name_filter.h", 486 "../../src/base/trace_event/heap_profiler.h", 487 "../../src/base/trace_event/heap_profiler_allocation_context.cc", 488 "../../src/base/trace_event/heap_profiler_allocation_context.h", [all …]
|