Searched refs:ucontext (Results 1 - 16 of 16) sorted by relevance
/system/extras/simpleperf/ |
H A D | dwarf_unwind.cpp | 19 #include <ucontext.h> 35 ucontext_t ucontext; local 36 memset(&ucontext, 0, sizeof(ucontext)); 38 SetUContextReg(ucontext.uc_mcontext.gregs[REG_GS], PERF_REG_X86_GS); 39 SetUContextReg(ucontext.uc_mcontext.gregs[REG_FS], PERF_REG_X86_FS); 40 SetUContextReg(ucontext.uc_mcontext.gregs[REG_ES], PERF_REG_X86_ES); 41 SetUContextReg(ucontext.uc_mcontext.gregs[REG_DS], PERF_REG_X86_DS); 42 SetUContextReg(ucontext.uc_mcontext.gregs[REG_EAX], PERF_REG_X86_AX); 43 SetUContextReg(ucontext 129 ucontext_t ucontext = BuildUContextFromRegs(regs); local [all...] |
/system/core/libbacktrace/ |
H A D | UnwindCurrent.cpp | 18 #include <ucontext.h> 43 void UnwindCurrent::GetUnwContextFromUcontext(const ucontext_t* ucontext) { argument 47 unw_context->regs[0] = ucontext->uc_mcontext.arm_r0; 48 unw_context->regs[1] = ucontext->uc_mcontext.arm_r1; 49 unw_context->regs[2] = ucontext->uc_mcontext.arm_r2; 50 unw_context->regs[3] = ucontext->uc_mcontext.arm_r3; 51 unw_context->regs[4] = ucontext->uc_mcontext.arm_r4; 52 unw_context->regs[5] = ucontext->uc_mcontext.arm_r5; 53 unw_context->regs[6] = ucontext->uc_mcontext.arm_r6; 54 unw_context->regs[7] = ucontext 68 UnwindFromContext(size_t num_ignore_frames, ucontext_t* ucontext) argument [all...] |
H A D | backtrace_offline_test.cpp | 51 ucontext_t ucontext; local 52 memset(&ucontext, 0, sizeof(ucontext)); 54 ucontext.uc_mcontext.arm_r0 = unw_context.regs[0]; 55 ucontext.uc_mcontext.arm_r1 = unw_context.regs[1]; 56 ucontext.uc_mcontext.arm_r2 = unw_context.regs[2]; 57 ucontext.uc_mcontext.arm_r3 = unw_context.regs[3]; 58 ucontext.uc_mcontext.arm_r4 = unw_context.regs[4]; 59 ucontext.uc_mcontext.arm_r5 = unw_context.regs[5]; 60 ucontext 113 ucontext_t ucontext = GetUContextFromUnwContext(arg.unw_context); local [all...] |
H A D | BacktraceCurrent.h | 22 #include <ucontext.h> 47 bool Unwind(size_t num_ignore_frames, ucontext_t* ucontext) override; 55 virtual bool UnwindFromContext(size_t num_ignore_frames, ucontext_t* ucontext) = 0;
|
H A D | UnwindCurrent.h | 22 #include <ucontext.h> 42 void GetUnwContextFromUcontext(const ucontext_t* ucontext); 44 bool UnwindFromContext(size_t num_ignore_frames, ucontext_t* ucontext) override;
|
H A D | ThreadEntry.cpp | 22 #include <ucontext.h> 128 ucontext_t* ucontext = reinterpret_cast<ucontext_t*>(sigcontext); local 130 memcpy(&ucontext_.uc_mcontext, &ucontext->uc_mcontext, sizeof(ucontext->uc_mcontext));
|
H A D | UnwindPtrace.h | 37 bool Unwind(size_t num_ignore_frames, ucontext_t* ucontext) override;
|
H A D | UnwindPtrace.cpp | 19 #include <ucontext.h> 50 bool UnwindPtrace::Unwind(size_t num_ignore_frames, ucontext_t* ucontext) { argument 59 if (ucontext) {
|
H A D | BacktraceCurrent.cpp | 24 #include <ucontext.h> 67 bool BacktraceCurrent::Unwind(size_t num_ignore_frames, ucontext_t* ucontext) { argument 75 if (ucontext) { 76 return UnwindFromContext(num_ignore_frames, ucontext); 111 // Indicate the ucontext is now valid. 164 // Wait for the thread to get the ucontext. The number indicates 203 BACK_LOGE("Timed out waiting for signal handler to get ucontext data.");
|
H A D | ThreadEntry.h | 22 #include <ucontext.h>
|
H A D | BacktraceOffline.h | 23 #include <ucontext.h>
|
H A D | BacktracePtrace.cpp | 23 #include <ucontext.h>
|
H A D | Backtrace.cpp | 21 #include <ucontext.h>
|
H A D | BacktraceOffline.cpp | 29 #include <ucontext.h>
|
/system/core/include/backtrace/ |
H A D | Backtrace.h | 69 struct ucontext; 70 typedef ucontext ucontext_t;
|
/system/core/debuggerd/test/ |
H A D | BacktraceMock.h | 23 #include <sys/ucontext.h>
|
Completed in 191 milliseconds