HomeSort by relevance Sort by last modified time
    Searched refs:Backtrace (Results 26 - 46 of 46) sorted by null

12

  /bionic/libc/malloc_debug/tests/
log_fake.cpp 27 class Backtrace;
  /system/core/debuggerd/test/
log_fake.cpp 27 class Backtrace;
tombstone_test.cpp 42 void dump_memory_and_code(log_t*, Backtrace*) {
45 void dump_backtrace_to_log(Backtrace*, log_t*, char const*) {
  /system/core/libmemunreachable/include/memunreachable/
memunreachable.h 44 struct Backtrace {
49 } backtrace; member in struct:Leak
  /system/core/debuggerd/mips/
machine.cpp 25 #include <backtrace/Backtrace.h>
35 void dump_memory_and_code(log_t* log, Backtrace* backtrace) {
37 if (ptrace(PTRACE_GETREGS, backtrace->Tid(), 0, &r)) {
53 dump_memory(log, backtrace, R(r.regs[reg]), "memory near %.2s:", &reg_names[reg * 2]);
58 dump_memory(log, backtrace, pc, "code around pc:");
60 dump_memory(log, backtrace, ra, "code around ra:");
  /system/core/debuggerd/mips64/
machine.cpp 25 #include <backtrace/Backtrace.h>
35 void dump_memory_and_code(log_t* log, Backtrace* backtrace) {
37 if (ptrace(PTRACE_GETREGS, backtrace->Tid(), 0, &r)) {
53 dump_memory(log, backtrace, R(r.regs[reg]), "memory near %.2s:", &reg_names[reg * 2]);
58 dump_memory(log, backtrace, pc, "code around pc:");
60 dump_memory(log, backtrace, ra, "code around ra:");
  /system/core/debuggerd/
tombstone.cpp 43 #include <backtrace/Backtrace.h>
44 #include <backtrace/BacktraceMap.h>
48 #include "backtrace.h"
239 Backtrace* backtrace, log_t* log, uintptr_t* sp, size_t words, int label) {
242 size_t bytes_read = backtrace->Read(*sp, reinterpret_cast<uint8_t*>(&stack_data[0]), sizeof(word_t) * words);
256 backtrace->FillInMap(stack_data[i], &map);
260 std::string func_name(backtrace->GetFunctionName(stack_data[i], &offset));
275 static void dump_stack(Backtrace* backtrace, log_t* log)
    [all...]
utility.cpp 31 #include <backtrace/Backtrace.h>
41 || (ltype == BACKTRACE)) {
108 void dump_memory(log_t* log, Backtrace* backtrace, uintptr_t addr, const char* fmt, ...) {
136 size_t bytes = backtrace->Read(addr, reinterpret_cast<uint8_t*>(data), sizeof(data));
163 size_t bytes2 = backtrace->Read(addr + start + bytes, reinterpret_cast<uint8_t*>(data) + bytes,
  /system/core/libbacktrace/
backtrace_offline_test.cpp 12 #include <backtrace/Backtrace.h>
13 #include <backtrace/BacktraceMap.h>
100 // Do offline backtrace.
109 std::unique_ptr<Backtrace> backtrace(
110 Backtrace::CreateOffline(getpid(), arg.tid, map.get(), stack_info));
111 ASSERT_TRUE(backtrace != nullptr);
114 ASSERT_TRUE(backtrace->Unwind(0, &ucontext));
117 for (size_t i = 0; i < backtrace->NumFrames(); ++i)
    [all...]
BacktracePtrace.cpp 26 #include <backtrace/Backtrace.h>
27 #include <backtrace/BacktraceMap.h>
UnwindPtrace.cpp 24 #include <backtrace/Backtrace.h>
25 #include <backtrace/BacktraceMap.h>
Android.mk 48 Backtrace.cpp \
BacktraceCurrent.cpp 31 #include <backtrace/Backtrace.h>
32 #include <backtrace/BacktraceMap.h>
UnwindCurrent.cpp 26 #include <backtrace/Backtrace.h>
BacktraceOffline.cpp 37 #include <backtrace/Backtrace.h>
38 #include <backtrace/BacktraceMap.h>
70 BacktraceOffline* backtrace = reinterpret_cast<BacktraceOffline*>(arg); local
71 bool result = backtrace->FindProcInfo(addr_space, ip, proc_info, need_unwind_info);
86 BacktraceOffline* backtrace = reinterpret_cast<BacktraceOffline*>(arg); local
88 size_t read_size = backtrace->Read(addr, reinterpret_cast<uint8_t*>(value), sizeof(unw_word_t));
100 BacktraceOffline* backtrace = reinterpret_cast<BacktraceOffline*>(arg); local
102 bool result = backtrace->ReadReg(unwind_reg, &reg_value);
757 Backtrace* Backtrace::CreateOffline(pid_t pid, pid_t tid, BacktraceMap* map
    [all...]
  /system/extras/simpleperf/
dwarf_unwind.cpp 21 #include <backtrace/Backtrace.h>
127 std::unique_ptr<Backtrace> backtrace(
128 Backtrace::CreateOffline(thread.pid, thread.tid, backtrace_map.get(), stack_info, true));
130 if (backtrace->Unwind(0, &ucontext)) {
131 for (auto it = backtrace->begin(); it != backtrace->end(); ++it) {
  /art/runtime/
runtime_linux.cc 41 struct Backtrace {
43 explicit Backtrace(void* raw_context) : raw_context_(raw_context) {}
334 Backtrace thread_backtrace(raw_context);
346 << "Backtrace:\n" << Dumpable<Backtrace>(thread_backtrace);
utils.cc 50 #include <backtrace/Backtrace.h>
51 #include <backtrace/BacktraceMap.h>
    [all...]
  /external/llvm/lib/Support/
CrashRecoveryContext.cpp 34 std::string Backtrace;
67 // FIXME: Stash the backtrace.
178 // TODO: We can capture the stack backtrace here and store it on the
342 return CRC->Backtrace;
  /system/core/libmemunreachable/
MemUnreachable.cpp 26 #include <backtrace.h>
151 allocator::unordered_map<Leak::Backtrace, Leak*> backtrace_map{allocator_};
162 leak->backtrace.frames, leak->backtrace.max_frames);
164 leak->backtrace.num_frames = num_backtrace_frames;
166 auto inserted = backtrace_map.emplace(leak->backtrace, leak);
168 // Leak with same backtrace already exists, drop this one and
464 if (backtrace.num_frames > 0) {
465 oss << backtrace_string(backtrace.frames, backtrace.num_frames)
    [all...]
  /external/v8/test/cctest/
test-debug.cc     [all...]

Completed in 440 milliseconds

12