Home
last modified time | relevance | path

Searched refs:trace_buffer (Results 1 – 22 of 22) sorted by relevance

/external/compiler-rt/lib/tsan/rtl/
Dtsan_stack_trace.cc20 : 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()
Dtsan_stack_trace.h24 uptr *trace_buffer; // Owned. member
Dtsan_rtl_report.cc698 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/
Dtrace.h24 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);
Dtrace.c15 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 …]
Debb.h29 struct trace_buffer *trace;
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace.cc37 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()
Dsanitizer_unwind_linux_libcdep.cc116 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()
Dsanitizer_stacktrace.h91 uptr trace_buffer[kStackTraceMax]; member
94 BufferedStackTrace() : StackTrace(trace_buffer, 0), top_frame_bp(0) {} in BufferedStackTrace()
Dsanitizer_stacktrace_libcdep.cc68 trace_buffer[0] = pc; in Unwind()
Dsanitizer_win.cc755 trace_buffer[size++] = (uptr)stack_frame.AddrPC.Offset; in SlowUnwindStackWithContext()
/external/compiler-rt/lib/asan/tests/
Dasan_noinst_test.cc49 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/compiler-rt/lib/asan/
Dasan_stack.h75 stack.trace_buffer[0] = StackTrace::GetCurrentPc(); \
77 stack.trace_buffer[1] = GET_CALLER_PC(); \
/external/libchrome/base/trace_event/
Dtrace_event.gypi46 'trace_event/trace_buffer.cc',
47 'trace_event/trace_buffer.h',
Dtrace_log.h402 TraceBuffer* trace_buffer() const { return logged_events_.get(); }
Dtrace_event_unittest.cc2759 TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer(); in TEST_F()
2819 TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer(); in TEST_F()
2848 TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer(); in TEST_F()
2876 TraceBuffer* buffer = TraceLog::GetInstance()->trace_buffer(); in TEST_F()
/external/v8/src/libplatform/tracing/
Dtracing-controller.cc45 void TracingController::Initialize(TraceBuffer* trace_buffer) { in Initialize() argument
46 trace_buffer_.reset(trace_buffer); in Initialize()
/external/v8/include/libplatform/
Dv8-tracing.h231 void Initialize(TraceBuffer* trace_buffer);
/external/libchrome/
DSConstruct211 trace_event/trace_buffer.cc
DAndroid.bp235 "base/trace_event/trace_buffer.cc",
/external/v8/src/
Dd8.cc2907 platform::tracing::TraceBuffer* trace_buffer = in Main() local
2911 tracing_controller->Initialize(trace_buffer); in Main()
/external/libchrome/base/
DBUILD.gn917 "trace_event/trace_buffer.cc",
918 "trace_event/trace_buffer.h",