Home
last modified time | relevance | path

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

123

/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Dtrace_event_unittest.py15 from py_trace_event import trace_event
34 trace_event.trace_enable(self._log_path)
38 trace_event.trace_disable()
41 orig_impl = trace_event.trace_event_impl
43 trace_event.trace_event_impl = None
44 self.assertFalse(trace_event.trace_can_enable())
46 trace_event.trace_event_impl = orig_impl
49 self.assertTrue(trace_event.trace_can_enable())
52 self.assertFalse(trace_event.trace_is_enabled())
56 self.assertTrue(trace_event.trace_is_enabled())
[all …]
/external/v8/src/libplatform/tracing/
Dtrace-writer.cc132 void JSONTraceWriter::AppendTraceEvent(TraceObject* trace_event) { in AppendTraceEvent() argument
135 stream_ << "{\"pid\":" << trace_event->pid() in AppendTraceEvent()
136 << ",\"tid\":" << trace_event->tid() in AppendTraceEvent()
137 << ",\"ts\":" << trace_event->ts() in AppendTraceEvent()
138 << ",\"tts\":" << trace_event->tts() << ",\"ph\":\"" in AppendTraceEvent()
139 << trace_event->phase() << "\",\"cat\":\"" in AppendTraceEvent()
141 trace_event->category_enabled_flag()) in AppendTraceEvent()
142 << "\",\"name\":\"" << trace_event->name() in AppendTraceEvent()
143 << "\",\"dur\":" << trace_event->duration() in AppendTraceEvent()
144 << ",\"tdur\":" << trace_event->cpu_duration(); in AppendTraceEvent()
[all …]
/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/
Dtrace_event.h28 namespace trace_event {
109 (base::trace_event::TraceCategory::ENABLED_FOR_RECORDING | \
110 base::trace_event::TraceCategory::ENABLED_FOR_ETW_EXPORT))
114 (base::trace_event::TraceCategory::ENABLED_FOR_RECORDING | \
115 base::trace_event::TraceCategory::ENABLED_FOR_ETW_EXPORT | \
116 base::trace_event::TraceCategory::ENABLED_FOR_FILTERING))
132 base::trace_event::TraceLog::GetCategoryGroupEnabled
138 base::trace_event::TraceLog::GetInstance()->GetNumTracesRecorded
155 base::trace_event::TraceLog::GetInstance()->AddTraceEvent
174 base::trace_event::TraceLog::GetInstance()->AddTraceEventWithBindId
[all …]
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()
/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()
Dmemory_allocator_dump_cross_process_uid.typemap6 public_headers = [ "//base/trace_event/memory_allocator_dump_guid.h" ]
13 type_mappings = [ "mojo_base.mojom.MemoryAllocatorDumpCrossProcessUid=base::trace_event::MemoryAllo…
/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/libchrome/base/test/
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());
Dtest_pending_task.h66 void AsValueInto(base::trace_event::TracedValue* state) const;
67 std::unique_ptr<base::trace_event::ConvertableToTraceFormat> AsValue() const;
/external/chromium-trace/catapult/systrace/systrace/
Dtracing_controller.py22 from py_trace_event import trace_event
35 trace_event.clock_sync(name, issue_ts=issue_ts)
52 if not trace_event.trace_can_enable():
59 trace_event.trace_enable(self._log_path)
69 trace_event.trace_disable()
/external/libchrome/base/task/sequence_manager/
Dtask_queue_impl.h201 void SetBlameContext(trace_event::BlameContext* blame_context);
220 void AsValueInto(TimeTicks now, trace_event::TracedValue* state) const;
358 trace_event::BlameContext* blame_context; // Not owned.
401 trace_event::TracedValue* state);
404 trace_event::TracedValue* state);
407 trace_event::TracedValue* state);
Dtime_domain.h58 void AsValueInto(trace_event::TracedValue* state) const;
82 virtual void AsValueIntoInternal(trace_event::TracedValue* state) const;
Dtime_domain.cc119 void TimeDomain::AsValueInto(trace_event::TracedValue* state) const { in AsValueInto()
131 void TimeDomain::AsValueIntoInternal(trace_event::TracedValue* state) const { in AsValueIntoInternal()
/external/libchrome/mojo/public/mojom/base/
Dmemory_allocator_dump_cross_process_uid.mojom7 // Corresponds to |base::trace_event::MemoryAllocatorDumpGuid| in base/trace_event/memory_allocator…
/external/libchrome/base/android/orderfile/
Dorderfile_instrumentation.cc77 class OrderfileMemoryDumpHook : public base::trace_event::MemoryDumpProvider {
79 const base::trace_event::MemoryDumpArgs& args, in OnMemoryDump()
80 base::trace_event::ProcessMemoryDump* pmd) override { in OnMemoryDump()
265 base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider( in StartDelayedDump()
/external/libchrome/ipc/
Dipc_mojo_bootstrap.cc55 : public base::trace_event::MemoryDumpProvider {
58 base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider( in ControllerMemoryDumpProvider()
63 base::trace_event::MemoryDumpManager::GetInstance()->UnregisterDumpProvider( in ~ControllerMemoryDumpProvider()
78 bool OnMemoryDump(const base::trace_event::MemoryDumpArgs& args,
79 base::trace_event::ProcessMemoryDump* pmd) override;
962 const base::trace_event::MemoryDumpArgs& args, in OnMemoryDump()
963 base::trace_event::ProcessMemoryDump* pmd) { in OnMemoryDump()
966 base::trace_event::MemoryAllocatorDump* dump = pmd->CreateAllocatorDump( in OnMemoryDump()
969 dump->AddScalar(base::trace_event::MemoryAllocatorDump::kNameObjectCount, in OnMemoryDump()
970 base::trace_event::MemoryAllocatorDump::kUnitsObjects, in OnMemoryDump()
Dipc_message.cc30 base::trace_event::TraceLog* trace_log = in GetRefNumUpper24()
31 base::trace_event::TraceLog::GetInstance(); in GetRefNumUpper24()
/external/libchrome/base/threading/
Dthread_local_storage.h37 namespace trace_event {
173 friend class base::trace_event::MallocDumpProvider;
/external/strace/
Dtrace_event.h33 enum trace_event { enum

123