Searched refs:ucontext (Results 1 - 16 of 16) sorted by relevance

/system/extras/simpleperf/
H A Ddwarf_unwind.cpp19 #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 DUnwindCurrent.cpp18 #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 Dbacktrace_offline_test.cpp51 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 DBacktraceCurrent.h22 #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 DUnwindCurrent.h22 #include <ucontext.h>
42 void GetUnwContextFromUcontext(const ucontext_t* ucontext);
44 bool UnwindFromContext(size_t num_ignore_frames, ucontext_t* ucontext) override;
H A DThreadEntry.cpp22 #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 DUnwindPtrace.h37 bool Unwind(size_t num_ignore_frames, ucontext_t* ucontext) override;
H A DUnwindPtrace.cpp19 #include <ucontext.h>
50 bool UnwindPtrace::Unwind(size_t num_ignore_frames, ucontext_t* ucontext) { argument
59 if (ucontext) {
H A DBacktraceCurrent.cpp24 #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 DThreadEntry.h22 #include <ucontext.h>
H A DBacktraceOffline.h23 #include <ucontext.h>
H A DBacktracePtrace.cpp23 #include <ucontext.h>
H A DBacktrace.cpp21 #include <ucontext.h>
H A DBacktraceOffline.cpp29 #include <ucontext.h>
/system/core/include/backtrace/
H A DBacktrace.h69 struct ucontext;
70 typedef ucontext ucontext_t;
/system/core/debuggerd/test/
H A DBacktraceMock.h23 #include <sys/ucontext.h>

Completed in 191 milliseconds