/external/perfetto/src/tracing/core/ |
D | trace_buffer_unittest.cc | 140 TraceBuffer* trace_buffer() { return trace_buffer_.get(); } in trace_buffer() function in perfetto::TraceBufferTest 158 trace_buffer()->BeginRead(); in TEST_F() 170 trace_buffer()->BeginRead(); in TEST_F() 173 EXPECT_EQ(chunk_id + 1u, trace_buffer()->stats().chunks_written()); in TEST_F() 174 EXPECT_EQ(trace_buffer()->stats().chunks_written(), in TEST_F() 175 trace_buffer()->stats().chunks_read()); in TEST_F() 176 EXPECT_LT(0u, trace_buffer()->stats().bytes_written()); in TEST_F() 177 EXPECT_EQ(trace_buffer()->stats().bytes_written(), in TEST_F() 178 trace_buffer()->stats().bytes_read()); in TEST_F() 179 EXPECT_EQ(0u, trace_buffer()->stats().padding_bytes_written()); in TEST_F() [all …]
|
D | trace_buffer.cc | 67 std::unique_ptr<TraceBuffer> trace_buffer(new TraceBuffer(pol)); in Create() local 68 if (!trace_buffer->Initialize(size_in_bytes)) in Create() 70 return trace_buffer; in Create()
|
D | tracing_service_impl.cc | 451 std::unique_ptr<TraceBuffer>& trace_buffer = it_and_inserted.first->second; in EnableTracing() local 452 if (!trace_buffer) { in EnableTracing()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_stack_trace.cc | 20 : StackTrace(nullptr, 0), trace_buffer(nullptr) {} in VarSizeStackTrace() 27 if (trace_buffer) { in ResizeBuffer() 28 internal_free(trace_buffer); in ResizeBuffer() 30 trace_buffer = in ResizeBuffer() 33 new_size * sizeof(trace_buffer[0])) in ResizeBuffer() 35 trace = trace_buffer; in ResizeBuffer() 41 internal_memcpy(trace_buffer, pcs, cnt * sizeof(trace_buffer[0])); in Init() 43 trace_buffer[cnt] = extra_top_pc; in Init()
|
D | tsan_stack_trace.h | 24 uptr *trace_buffer; // Owned. member
|
D | tsan_rtl_report.cc | 698 uptr tmp = ptrace->trace_buffer[i]; in PrintCurrentStackSlow() 699 ptrace->trace_buffer[i] = ptrace->trace_buffer[ptrace->size - i - 1]; in PrintCurrentStackSlow() 700 ptrace->trace_buffer[ptrace->size - i - 1] = tmp; in PrintCurrentStackSlow()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
D | trace.h | 24 struct trace_buffer struct 32 struct trace_buffer *trace_buffer_allocate(u64 size); argument 33 int trace_log_reg(struct trace_buffer *tb, u64 reg, u64 value); 34 int trace_log_counter(struct trace_buffer *tb, u64 value); 35 int trace_log_string(struct trace_buffer *tb, char *str); 36 int trace_log_indent(struct trace_buffer *tb); 37 int trace_log_outdent(struct trace_buffer *tb); 38 void trace_buffer_print(struct trace_buffer *tb); 39 void trace_print_location(struct trace_buffer *tb);
|
D | trace.c | 15 struct trace_buffer *trace_buffer_allocate(u64 size) in trace_buffer_allocate() 17 struct trace_buffer *tb; in trace_buffer_allocate() 38 static bool trace_check_bounds(struct trace_buffer *tb, void *p) in trace_check_bounds() 43 static bool trace_check_alloc(struct trace_buffer *tb, void *p) in trace_check_alloc() 62 static void *trace_alloc(struct trace_buffer *tb, int bytes) in trace_alloc() 76 static struct trace_entry *trace_alloc_entry(struct trace_buffer *tb, int payload_size) in trace_alloc_entry() 87 int trace_log_reg(struct trace_buffer *tb, u64 reg, u64 value) in trace_log_reg() 104 int trace_log_counter(struct trace_buffer *tb, u64 value) in trace_log_counter() 120 int trace_log_string(struct trace_buffer *tb, char *str) in trace_log_string() 142 int trace_log_indent(struct trace_buffer *tb) in trace_log_indent() [all …]
|
D | ebb.h | 29 struct trace_buffer *trace;
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_stacktrace.cc | 37 internal_memcpy(trace_buffer, pcs, cnt * sizeof(trace_buffer[0])); in Init() 39 trace_buffer[cnt] = extra_top_pc; in Init() 71 trace_buffer[0] = pc; in FastUnwindStack() 102 trace_buffer[size++] = (uptr) pc1; in FastUnwindStack() 117 trace_buffer[i] = trace_buffer[i + count]; in PopStackFrames()
|
D | sanitizer_unwind_linux_libcdep.cc | 116 arg->stack->trace_buffer[arg->stack->size++] = pc; in Unwind_Trace() 137 trace_buffer[0] = pc; in SlowUnwindStack() 163 trace_buffer[size++] = frames[i].absolute_pc + 2; in SlowUnwindStackWithContext()
|
D | sanitizer_stacktrace.h | 91 uptr trace_buffer[kStackTraceMax]; member 94 BufferedStackTrace() : StackTrace(trace_buffer, 0), top_frame_bp(0) {} in BufferedStackTrace()
|
D | sanitizer_stacktrace_libcdep.cc | 68 trace_buffer[0] = pc; in Unwind()
|
D | sanitizer_win.cc | 755 trace_buffer[size++] = (uptr)stack_frame.AddrPC.Offset; in SlowUnwindStackWithContext()
|
/external/compiler-rt/lib/asan/tests/ |
D | asan_noinst_test.cc | 49 stack1.trace_buffer[0] = 0xa123; in MallocStress() 50 stack1.trace_buffer[1] = 0xa456; in MallocStress() 54 stack2.trace_buffer[0] = 0xb123; in MallocStress() 55 stack2.trace_buffer[1] = 0xb456; in MallocStress() 59 stack3.trace_buffer[0] = 0xc123; in MallocStress() 60 stack3.trace_buffer[1] = 0xc456; in MallocStress() 137 stack.trace_buffer[0] = 0x890; in TEST() 158 stack.trace_buffer[0] = 0x890; in ThreadedQuarantineTestWorker() 185 stack.trace_buffer[0] = 0x890; in ThreadedOneSizeMallocStress() 238 stack.trace_buffer[0] = 0x890; in TEST()
|
/external/autotest/client/bin/ |
D | fps_meter.py | 164 def get_fps_info(trace_buffer, end_time): argument 173 while trace_buffer and trace_buffer[0] < step_time: 174 frame_times.append(trace_buffer.popleft()) 263 trace_buffer = collections.deque() 272 trace_buffer.append(timestamp) 277 self.callback(get_fps_info(trace_buffer, timestamp))
|
/external/ltp/testcases/kernel/sched/eas/ |
D | trace_parse.c | 27 static char *trace_buffer = NULL; variable 425 if (!trace_buffer) { in read_trace_line() 426 trace_buffer = SAFE_MALLOC(TRACE_BUFFER_SIZE); in read_trace_line() 427 idx = trace_buffer + TRACE_BUFFER_SIZE - 1; in read_trace_line() 434 rv = refill_buffer(trace_buffer, idx); in read_trace_line() 437 idx = trace_buffer; in read_trace_line() 524 if (trace_buffer) { in load_trace() 525 free(trace_buffer); in load_trace() 526 trace_buffer = NULL; in load_trace()
|
/external/compiler-rt/lib/asan/ |
D | asan_stack.h | 75 stack.trace_buffer[0] = StackTrace::GetCurrentPc(); \ 77 stack.trace_buffer[1] = GET_CALLER_PC(); \
|
/external/v8/src/libplatform/tracing/ |
D | tracing-controller.cc | 60 void TracingController::Initialize(TraceBuffer* trace_buffer) { in Initialize() argument 61 trace_buffer_.reset(trace_buffer); in Initialize()
|
/external/perfetto/src/tracing/ |
D | BUILD.gn | 63 "core/trace_buffer.cc", 64 "core/trace_buffer.h",
|
/external/v8/include/libplatform/ |
D | v8-tracing.h | 241 void Initialize(TraceBuffer* trace_buffer); in V8_PLATFORM_NON_EXPORTED_BASE()
|
/external/perfetto/ |
D | Android.bp | 114 "src/tracing/core/trace_buffer.cc", 321 "src/tracing/core/trace_buffer.cc", 489 "src/tracing/core/trace_buffer.cc", 699 "src/tracing/core/trace_buffer.cc", 2739 "src/tracing/core/trace_buffer.cc", 3096 "src/tracing/core/trace_buffer.cc", 3475 "src/tracing/core/trace_buffer.cc",
|
/external/v8/src/ |
D | d8.cc | 3332 platform::tracing::TraceBuffer* trace_buffer = in Main() local 3336 tracing->Initialize(trace_buffer); in Main()
|