/system/core/debuggerd/libdebuggerd/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:", ®_names[reg * 2]); 58 dump_memory(log, backtrace, pc, "code around pc:"); 60 dump_memory(log, backtrace, ra, "code around ra:");
|
/system/extras/simpleperf/ |
dwarf_unwind.cpp | 21 #include <backtrace/Backtrace.h> 132 std::unique_ptr<Backtrace> backtrace( 133 Backtrace::CreateOffline(thread.pid, thread.tid, backtrace_map.get(), stack_info, true)); 135 if (backtrace->Unwind(0, &ucontext)) { 136 for (auto it = backtrace->begin(); it != backtrace->end(); ++it) {
|
/art/runtime/ |
native_stack_dump.cc | 26 #include <backtrace/Backtrace.h> 27 #include <backtrace/BacktraceMap.h> 299 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(BACKTRACE_CURRENT_PROCESS, tid, map)); 300 if (!backtrace->Unwind(0, reinterpret_cast<ucontext*>(ucontext_ptr))) { 301 os << prefix << "(backtrace::Unwind failed for thread " << tid 302 << ": " << backtrace->GetErrorString(backtrace->GetError()) << ")" << std::endl [all...] |
runtime_common.h | 39 struct Backtrace { 41 explicit Backtrace(void* raw_context) : raw_context_(raw_context) {}
|
/system/core/libbacktrace/ |
backtrace_offline_test.cpp | 32 #include <backtrace/Backtrace.h> 33 #include <backtrace/BacktraceMap.h> 307 // Do offline backtrace. 311 std::unique_ptr<Backtrace> backtrace( 312 Backtrace::CreateOffline(testdata.pid, testdata.tid, map.get(), testdata.stack_info)); 313 ASSERT_TRUE(backtrace != nullptr); 316 ASSERT_TRUE(backtrace->Unwind(0, &ucontext)); 320 for (size_t i = 0; i < backtrace->NumFrames(); ++i) [all...] |
/external/autotest/client/tools/ |
crash_handler.py | 49 @param report: Whether we'll use GDB to get a backtrace report of the 142 # Take a backtrace from the running program 145 backtrace = commands.getoutput(gdb_cmd) 147 backtrace = backtrace.decode('utf-8', 'ignore') 150 backtrace = ("Could not determine backtrace for core file %s" % path) 163 report += "Program backtrace:\n%s\n" % backtrace
|
/bionic/libc/malloc_debug/ |
DebugData.cpp | 52 if (config_.options & BACKTRACE) { 53 backtrace.reset(new BacktraceData(this, config_, &pointer_offset_)); 54 if (!backtrace->Initialize(config_)) {
|
Config.cpp | 255 error_log(" backtrace[=XX]"); 256 error_log(" Enable capturing the backtrace at the point of allocation."); 257 error_log(" If XX is set it sets the number of backtrace frames."); 262 error_log(" Enable capturing the backtrace at the point of allocation."); 263 error_log(" The backtrace capture is not enabled until the process"); 264 error_log(" receives a signal. If XX is set it sets the number of backtrace"); 298 error_log(" enabled, it automatically records the backtrace at the time of the free."); 305 error_log(" how many backtrace frames to capture when an allocation is freed."); 307 error_log(" is set to zero, then no backtrace will be captured."); 356 // Enable logging the backtrace on allocation. Value is the tota [all...] |
README_marshmallow_and_earlier.md | 48 ### Backtrace at Allocation Creation 49 Enable capturing the backtrace of each allocation site. Only the 50 first 16 frames of the backtrace will be captured. 58 Note: If multiple allocations have the same exact backtrace, then only one 89 entire allocation is filled with the value 0xef, and the backtrace at 90 the time of the free is recorded. As with the backtrace on allocation,
|
/external/libchrome/base/trace_event/ |
heap_profiler_stack_frame_deduplicator.h | 27 // lookup of a backtrace for deduplication, and a tree for compact storage in 52 // Inserts a backtrace where |beginFrame| is a pointer to the bottom frame 55 // Returns -1 if the backtrace is empty.
|
heap_profiler_heap_dump_writer.cc | 86 const Backtrace& backtrace = context_and_metrics.first->backtrace; local 87 const StackFrame* begin = std::begin(backtrace.frames); 88 const StackFrame* end = begin + backtrace.frame_count; 176 // There is no need to compare |size|. If the backtrace and type name are 200 const StackFrame* backtrace_begin = std::begin(context->backtrace.frames); 202 DCHECK_LE(bucket.backtrace_cursor, arraysize(context->backtrace.frames)); 231 // by type name, then by backtrace, or first by backtrace and then by type) [all...] |
/frameworks/av/media/utils/ |
MemoryLeakTrackUtil.cpp | 78 // based on the backtrace. 83 uintptr_t backtrace[]; member in struct:android::AllocEntry 90 oss << backtrace_string(e->backtrace, backtraceSize) << "\n";
|
/system/core/debuggerd/ |
debuggerd.cpp | 38 fprintf(stderr, "-b, --backtrace just a backtrace rather than a full tombstone\n"); 61 if (argc == 3 && strcmp(argv[1], "-b") != 0 && strcmp(argv[1], "--backtrace") != 0) usage(1);
|
/external/elfutils/tests/ |
ChangeLog | 113 * run-backtrace-core-sparc.sh: New file. 114 * backtrace.sparc.core.bz2: New file. 115 * backtrace.sparc.exec.bz2: New file. 117 (TESTS): Added run-backtrace-core-sparc.sh. 122 * run-backtrace-demangle.sh: Disable valgrind. 172 * Makefile.am (backtrace-child-biarch): Add AM_V_CC silencer. 251 * tests/backtrace-data.c: Reduce scope of some includes to match their 253 * tests/backtrace.c: Likewise. 263 * backtrace-subr.sh (check_native_core): Notice core file couldn't be 267 * run-backtrace-demangle.sh: Likewise [all...] |
run-backtrace-core-i386.sh | 18 . $srcdir/backtrace-subr.sh
|
run-backtrace-core-ppc.sh | 18 . $srcdir/backtrace-subr.sh
|
run-backtrace-core-s390.sh | 18 . $srcdir/backtrace-subr.sh
|
run-backtrace-core-s390x.sh | 18 . $srcdir/backtrace-subr.sh
|
run-backtrace-core-sparc.sh | 18 . $srcdir/backtrace-subr.sh
|
run-backtrace-core-x86_64.sh | 18 . $srcdir/backtrace-subr.sh
|
/external/clang/test/Analysis/ |
crash-trace.c | 6 // REQUIRES: shell, backtrace
|
/external/elfutils/ |
.gitignore | 98 /tests/backtrace 99 /tests/backtrace-child 100 /tests/backtrace-data 101 /tests/backtrace-dwarf
|
/system/core/libmemunreachable/include/memunreachable/ |
memunreachable.h | 44 struct Backtrace { 49 } backtrace; member in struct:Leak
|
/art/test/137-cfi/ |
cfi.cc | 29 #include <backtrace/Backtrace.h> 65 static bool CheckStack(Backtrace* bt, const std::vector<std::string>& seq) { 69 for (Backtrace::const_iterator it = bt->begin(); it != bt->end(); ++it) { 81 printf("Cannot find %s in backtrace:\n", seq[cur_search_index].c_str()); 82 for (Backtrace::const_iterator it = bt->begin(); it != bt->end(); ++it) { 133 std::unique_ptr<Backtrace> bt(Backtrace::Create(BACKTRACE_CURRENT_PROCESS, GetTid())); 236 std::unique_ptr<Backtrace> bt(Backtrace::Create(pid, BACKTRACE_CURRENT_THREAD)) [all...] |
/system/core/debuggerd/libdebuggerd/ |
utility.cpp | 32 #include <backtrace/Backtrace.h> 39 || (ltype == BACKTRACE)) { 103 void dump_memory(log_t* log, Backtrace* backtrace, uintptr_t addr, const char* fmt, ...) { 131 size_t bytes = backtrace->Read(addr, reinterpret_cast<uint8_t*>(data), sizeof(data)); 158 size_t bytes2 = backtrace->Read(addr + start + bytes, reinterpret_cast<uint8_t*>(data) + bytes,
|