HomeSort by relevance Sort by last modified time
    Searched full:backtrace (Results 26 - 50 of 464) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/libunwind/doc/
unw_backtrace.tex 8 \begin{Name}{3}{unw\_backtrace}{David Mosberger-Tang}{Programming Library}{unw\_backtrace}unw\_backtrace -- return backtrace for the calling program
19 \Type{int} \Func{backtrace}(\Type{void~**}\Var{buffer}, \Type{int}~\Var{size});\\
23 \Func{unw\_backtrace}() is a convenient routine for obtaining the backtrace for
28 called \Func{backtrace}(). The prototype for this function is usually obtained
30 \Func{backtrace}() is not provided by \Prog{libunwind}. \Prog{libunwind} weakly
31 aliases \Func{backtrace}() to \Func{unw\_backtrace}(), so when a program
32 calling \Func{backtrace}() is linked against \Prog{libunwind}, it may end up
  /external/elfutils/tests/
backtrace-subr.sh 101 testfiles backtrace.$arch.{exec,core}
102 tempfiles backtrace.$arch.{bt,err}
103 echo ./backtrace ./backtrace.$arch.{exec,core}
104 testrun ${abs_builddir}/backtrace -e ./backtrace.$arch.exec --core=./backtrace.$arch.core 1>backtrace.$arch.bt 2>backtrace.$arch.err || true
105 cat backtrace.$arch.{bt,err
    [all...]
run-backtrace-core-aarch64.sh 18 . $srcdir/backtrace-subr.sh
20 # backtrace.aarch64.exe is a -static binary of backtrace-child.
21 # backtrace.aarch64.core was generated by running the static backtrace-child
run-backtrace-native-biarch.sh 23 . $srcdir/backtrace-subr.sh
25 check_native backtrace-child-biarch
run-backtrace-native-core-biarch.sh 23 . $srcdir/backtrace-subr.sh
25 check_native_core backtrace-child-biarch
run-backtrace-native-core.sh 18 . $srcdir/backtrace-subr.sh
20 check_native_core backtrace-child
run-backtrace-native.sh 18 . $srcdir/backtrace-subr.sh
20 check_native backtrace-child
  /system/core/debuggerd/libdebuggerd/x86_64/
machine.cpp 25 #include <backtrace/Backtrace.h>
31 void dump_memory_and_code(log_t* log, Backtrace* backtrace) {
33 if (ptrace(PTRACE_GETREGS, backtrace->Tid(), 0, &r) == -1) {
38 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rax), "memory near rax:");
39 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rbx), "memory near rbx:");
40 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rcx), "memory near rcx:");
41 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rdx), "memory near rdx:");
42 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rsi), "memory near rsi:")
    [all...]
  /external/libchrome/base/trace_event/
heap_profiler_allocation_context.h 22 // The backtrace in the allocation context is a snapshot of the stack. For now,
25 // case, |Backtrace| and |AllocationContextTracker::GetContextSnapshot| might
28 // The number of stack frames stored in the backtrace is a trade off between
38 // Represents (pseudo) stack frame. Used in Backtrace class below.
68 struct BASE_EXPORT Backtrace {
69 Backtrace();
79 bool BASE_EXPORT operator==(const Backtrace& lhs, const Backtrace& rhs);
80 bool BASE_EXPORT operator!=(const Backtrace& lhs, const Backtrace& rhs)
89 Backtrace backtrace; member in struct:base::trace_event::AllocationContext
    [all...]
heap_profiler_allocation_register.cc 34 const Backtrace& backtrace) const {
39 size_t head_end = std::min(backtrace.frame_count, kSampleLength);
41 total_value += reinterpret_cast<uintptr_t>(backtrace.frames[i].value);
44 size_t tail_start = backtrace.frame_count -
45 std::min(backtrace.frame_count - head_end, kSampleLength);
46 for (size_t i = tail_start; i != backtrace.frame_count; ++i) {
47 total_value += reinterpret_cast<uintptr_t>(backtrace.frames[i].value);
50 total_value += backtrace.frame_count;
53 // per backtrace. They were found by replaying real backtraces from Linu
    [all...]
heap_profiler_allocation_context_tracker_unittest.cc 29 // Asserts that the fixed-size array |expected_backtrace| matches the backtrace
37 auto* actual = std::begin(ctx.backtrace.frames);
38 auto* actual_bottom = actual + ctx.backtrace.frame_count;
59 ASSERT_EQ(1u, ctx.backtrace.frame_count);
60 ASSERT_EQ(t, ctx.backtrace.frames[0]);
230 ASSERT_EQ(t, ctx.backtrace.frames[0]);
231 ASSERT_EQ(c, ctx.backtrace.frames[1]);
232 ASSERT_EQ(f, ctx.backtrace.frames[11]);
239 ASSERT_EQ(t, ctx.backtrace.frames[0]);
240 ASSERT_EQ(c, ctx.backtrace.frames[1])
    [all...]
  /external/clang/test/Parser/
crash-report.c 6 // REQUIRES: shell, backtrace
  /external/compiler-rt/test/asan/TestCases/Darwin/
crashlog-stacktraces.c 4 // Since ASan is built with -fomit-frame-pointer, backtrace is not able to
18 int i, frames = backtrace(callstack, 128);
25 fprintf(stderr, "END OF BACKTRACE\n");
48 // CHECK: END OF BACKTRACE
  /external/valgrind/none/tests/
vgprintf.c 12 x = VALGRIND_PRINTF_BACKTRACE("Backtrace line one\nLine two:\n");
vgprintf.stderr.exp 4 Backtrace line one
  /system/core/libbacktrace/
Backtrace.cpp 27 #include <backtrace/Backtrace.h>
28 #include <backtrace/BacktraceMap.h>
38 // Backtrace functions.
40 Backtrace::Backtrace(pid_t pid, pid_t tid, BacktraceMap* map)
48 Backtrace::~Backtrace() {
55 std::string Backtrace::GetFunctionName(uintptr_t pc, uintptr_t* offset, const backtrace_map_t* map) {
69 bool Backtrace::VerifyReadWordArgs(uintptr_t ptr, word_t* out_value)
    [all...]
BacktraceCurrent.h 24 #include <backtrace/Backtrace.h>
38 class BacktraceCurrent : public Backtrace {
40 BacktraceCurrent(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {}
  /system/core/libmemunreachable/
Leak.h 25 // Custom std::hash specialization so that Leak::Backtrace can be used
30 struct hash<Leak::Backtrace> {
31 std::size_t operator()(const Leak::Backtrace& key) const {
52 static bool operator==(const Leak::Backtrace& lhs, const Leak::Backtrace& rhs) {
  /bionic/libc/malloc_debug/
README_api.md 6 either the backtrace option or the backtrace\_enabled\_on\_signal option.
20 *backtrace\_size* is set to the maximum number of backtrace entries
38 *backtrace\_size* as returned by the original call to
42 backtrace and size as this allocation. On Android Nougat, this value was
43 incorrectly set to the number of frames in the backtrace.
45 of backtrace entries is less than *backtrace\_size*, the rest of the
  /system/core/libbacktrace/include/backtrace/
Backtrace.h 26 #include <backtrace/backtrace_constants.h>
27 #include <backtrace/BacktraceMap.h>
79 class Backtrace {
81 // Create the correct Backtrace object based on what is to be unwound.
82 // If pid < 0 or equals the current pid, then the Backtrace object
84 // If pid < 0 or equals the current pid and tid >= 0, then the Backtrace
86 // If pid >= 0 and tid < 0, then the Backtrace object corresponds to a
91 static Backtrace* Create(pid_t pid, pid_t tid, BacktraceMap* map = NULL);
93 // Create an offline Backtrace object that can be used to do an unwind without a process
96 // that subsequent calls to create offline Backtrace objects will continue to use the sam
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_debug_stack.c 41 debug_backtrace_capture(struct debug_stack_frame *backtrace,
76 backtrace[i++].function = frame_pointer[1];
94 backtrace[i++].function = NULL;
101 debug_backtrace_dump(const struct debug_stack_frame *backtrace,
107 if(!backtrace[i].function)
109 debug_symbol_print(backtrace[i].function);
  /system/core/debuggerd/libdebuggerd/arm/
machine.cpp 25 #include <backtrace/Backtrace.h>
31 void dump_memory_and_code(log_t* log, Backtrace* backtrace) {
33 if (ptrace(PTRACE_GETREGS, backtrace->Tid(), 0, &regs)) {
41 dump_memory(log, backtrace, regs.uregs[reg], "memory near %.2s:", &reg_names[reg * 2]);
44 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.ARM_pc), "code around pc:");
47 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.ARM_lr), "code around lr:");
  /system/core/debuggerd/libdebuggerd/arm64/
machine.cpp 27 #include <backtrace/Backtrace.h>
33 void dump_memory_and_code(log_t* log, Backtrace* backtrace) {
39 if (ptrace(PTRACE_GETREGSET, backtrace->Tid(), reinterpret_cast<void*>(NT_PRSTATUS), &io) == -1) {
45 dump_memory(log, backtrace, regs.regs[reg], "memory near x%d:", reg);
48 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.pc), "code around pc:");
51 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.sp), "code around sp:");
  /system/core/debuggerd/libdebuggerd/include/
elf_utils.h 23 class Backtrace;
25 bool elf_get_build_id(Backtrace*, uintptr_t, std::string*);
  /system/core/debuggerd/libdebuggerd/test/
elf_fake.cpp 21 class Backtrace;
29 bool elf_get_build_id(Backtrace*, uintptr_t, std::string* build_id) {

Completed in 517 milliseconds

12 3 4 5 6 7 8 91011>>