Home
last modified time | relevance | path

Searched refs:trace_event (Results 1 – 25 of 164) sorted by relevance

1234567

/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Dtrace_event_unittest.py15 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/
Dshared_memory_tracker.cc31 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 …]
Dshared_memory_tracker.h18 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 …]
Ddiscardable_memory.h13 namespace trace_event {
71 virtual trace_event::MemoryAllocatorDump* CreateMemoryAllocatorDump(
73 trace_event::ProcessMemoryDump* pmd) const = 0;
/external/libchrome/libchrome_tools/patches/
Dlibchrome-Introduce-stub-ConvertableToTraceFormat.patch11 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/
Dvalues.patch1 # 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 …]
Dtrace_event.patch1 --- 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 …]
Dmojom_disable_trace_and_mem_dump.patch9 -#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 …]
Dhandle_table.patch9 -#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/
Dheap_profiler_event_filter.cc14 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()
Dtrace_event.h34 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 …]
Dheap_profiler_allocation_context.h16 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;
Dblame_context.cc12 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()
Dheap_profiler.h65 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()
Dtrace_log.cc60 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 …]
Dblame_context.h16 namespace trace_event {
20 namespace trace_event {
37 : public trace_event::TraceLog::AsyncEnabledStateObserver {
112 virtual void AsValueInto(trace_event::TracedValue* state);
Devent_name_filter.cc10 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()
Dmemory_dump_manager_test_utils.h13 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/
Dtrace_to_file.cc56 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()
Dtest_pending_task.cc43 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/
Dmemory_allocator_dump_cross_process_uid_unittest.cc14 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()
Dmemory_allocator_dump_cross_process_uid_mojom_traits.cc11 base::trace_event::MemoryAllocatorDumpGuid>::
13 base::trace_event::MemoryAllocatorDumpGuid* out) { in Read()
18 *out = base::trace_event::MemoryAllocatorDumpGuid(data.value()); in Read()
Dmemory_allocator_dump_cross_process_uid_mojom_traits.h17 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/
Dhandle_table_unittest.cc18 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/
DBUILD.gn479 "../../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 …]

1234567