Home
last modified time | relevance | path

Searched refs:stack (Results 1 – 25 of 216) sorted by relevance

123456789

/system/core/libutils/include/utils/
DCallStack.h94 void operator()(CallStack* stack) { in operator()
95 deleteStack(stack); in operator()
121 static void ALWAYS_INLINE logStack(const char* logtag, CallStack* stack = getCurrent().get(),
123 if (reinterpret_cast<uintptr_t>(logStackInternal) != 0 && stack != nullptr) {
124 logStackInternal(logtag, stack, priority);
139 const CallStack* stack = getCurrent().get()) {
140 if (reinterpret_cast<uintptr_t>(stackToStringInternal) != 0 && stack != nullptr) {
141 return stackToStringInternal(prefix, stack);
156 static void CALLSTACK_WEAK logStackInternal(const char* logtag, const CallStack* stack,
158 static String8 CALLSTACK_WEAK stackToStringInternal(const char* prefix, const CallStack* stack);
[all …]
/system/core/libutils/
DCallStack.cpp84 CallStack::CallStackUPtr stack(new CallStack()); in getCurrentInternal() local
85 stack->update(ignoreDepth + 1); in getCurrentInternal()
86 return stack; in getCurrentInternal()
89 void CallStack::logStackInternal(const char* logtag, const CallStack* stack, in logStackInternal() argument
91 stack->log(logtag, priority); in logStackInternal()
94 String8 CallStack::stackToStringInternal(const char* prefix, const CallStack* stack) { in stackToStringInternal() argument
95 return stack->toString(prefix); in stackToStringInternal()
98 void CallStack::deleteStack(CallStack* stack) { in deleteStack() argument
99 delete stack; in deleteStack()
/system/extras/simpleperf/scripts/
Dstackcollapse.py82 stack = []
90 stack.append(func)
92 stack.append("%s-%d/%d" % (sample.thread_comm, sample.pid, sample.tid))
94 stack.append("%s-%d" % (sample.thread_comm, sample.pid))
96 stack.append(sample.thread_comm)
97 stack.reverse()
98 stacks[";".join(stack)] += sample.period
Dgecko_profile_generator.py206 def _add_sample(self, comm: str, stack: List[str], time_ms: Milliseconds) -> None:
220 for frame in stack:
327 stack = ['%s (in %s)' % (symbol.symbol_name, symbol.dso_name)]
330 stack.append('%s (in %s)' % (entry.symbol.symbol_name, entry.symbol.dso_name))
332 stack.reverse()
341 stack=stack,
/system/libprocinfo/testdata/
Dmaps351 704defa000-704defb000 ---p 00000000 00:00 0 [anon:thread stack guard]
355 704e455000-704e456000 ---p 00000000 00:00 0 [anon:thread stack guard]
362 704e69d000-704e69e000 ---p 00000000 00:00 0 [anon:thread stack guard]
365 704f79b000-704f79c000 ---p 00000000 00:00 0 [anon:thread stack guard]
367 704f899000-704f89a000 ---p 00000000 00:00 0 [anon:thread stack guard]
420 7051326000-7051327000 ---p 00000000 00:00 0 [anon:thread stack guard]
546 705ddf8000-705ddf9000 ---p 00000000 00:00 0 [anon:thread stack guard]
550 705f5ec000-705f5ed000 ---p 00000000 00:00 0 [anon:thread stack guard]
554 705f7e8000-705f7e9000 ---p 00000000 00:00 0 [anon:thread stack guard]
557 705f8ee000-705f8ef000 ---p 00000000 00:00 0 [anon:thread stack guard]
[all …]
/system/extras/simpleperf/doc/
DREADME.md28 1) When recording dwarf based call graph, simpleperf unwinds the stack before writing a sample
39 4) It uses the standard Android stack unwinder, so its results are consistent with all other
113 mode, recording stack frame based call graphs doesn't work well.
117 Below is our experiences of dwarf based call graphs and stack frame based call graphs.
122 3. Can only unwind 64K stack for each sample. So usually can't show complete flamegraph. But
124 4. Take more CPU time than stack frame based call graphs. So the sample frequency is suggested
127 stack frame based call graphs:
128 1. Need support of stack frame registers.
130 stack frame registers. So the kernel can't unwind user stack containing both ARM/THUMB code.
132 reserve stack frame registers.
[all …]
Ddebug_dwarf_unwinding.md4 simpleperf asks the kernel to add stack and register data to each sample. Then it uses
6 to unwind the call stack. libunwindstack uses dwarf sections (like .debug_frame or .eh_frame) in
7 elf files to know how to unwind the stack.
10 by stack data. But this behavior makes it harder to reproduce unwinding problems. So we added
17 Unwinding a sample can fail for different reasons: not enough stack or register data, unknown
22 `--keep-failed-unwinding-debug-info` keeps stack and register data for failed unwinding samples. It
/system/netd/tests/
Dnetd_test.cpp83 static char stack[PAGE_SIZE * 2]; in nsTest() local
87 int tid = clone(newThread, &stack[PAGE_SIZE], flags | CLONE_VFORK, NULL); in nsTest()
/system/tools/hidl/
DType.cpp226 std::unordered_set<const Type*>* stack) const { in topologicalOrder()
227 if (stack->find(this) != stack->end()) { in topologicalOrder()
233 stack->insert(this); in topologicalOrder()
236 auto err = nextType->topologicalOrder(reversedOrder, stack); in topologicalOrder()
256 auto err = nextType->topologicalOrder(reversedOrder, stack); in topologicalOrder()
271 CHECK(stack->find(this) != stack->end()); in topologicalOrder()
272 stack->erase(this); in topologicalOrder()
DConstantExpression.cpp634 std::unordered_set<const ConstantExpression*>* stack) const { in checkAcyclic()
635 if (stack->find(this) != stack->end()) { in checkAcyclic()
646 stack->insert(this); in checkAcyclic()
649 auto err = nextCE->checkAcyclic(visited, stack); in checkAcyclic()
658 auto err = nextCE->checkAcyclic(visited, stack); in checkAcyclic()
679 CHECK(stack->find(this) != stack->end()); in checkAcyclic()
680 stack->erase(this); in checkAcyclic()
/system/extras/simpleperf/scripts/inferno/
Dscript.js161 let stack = svgOwner.zoomStack;
169 if (stack.length > 1) {
170 let previouslySelected = stack.pop();
175 if (stack.length == 1) {
/system/sepolicy/prebuilts/api/29.0/public/
Dnetwork_stack.te1 # Network stack service app
/system/sepolicy/public/
Dnetwork_stack.te1 # Network stack service app
/system/sepolicy/prebuilts/api/33.0/public/
Dnetwork_stack.te1 # Network stack service app
/system/sepolicy/prebuilts/api/30.0/public/
Dnetwork_stack.te1 # Network stack service app
/system/sepolicy/prebuilts/api/31.0/public/
Dnetwork_stack.te1 # Network stack service app
/system/sepolicy/prebuilts/api/32.0/public/
Dnetwork_stack.te1 # Network stack service app
/system/unwinding/libunwindstack/offline_files/straddle_arm64/
Dmaps.txt2 0000007fe0d64000-0000007fe0d84fff rw-p 00000000 00:00 0 [stack]
/system/extras/simpleperf/
Dcmd_debug_unwind.cpp258 const PerfSampleStackUserType* stack = &sr.stack_user_data; in ProcessRecord() local
261 stack = &last_unwinding_result_->stack_user_data; in ProcessRecord()
264 if (stack->size > 0 || regs->reg_mask > 0) { in ProcessRecord()
265 if (!UnwindRecord(sr, *regs, *stack)) { in ProcessRecord()
302 const PerfSampleStackUserType& stack) { in UnwindRecord() argument
308 if (!unwinder_->UnwindCallChain(*thread, reg_set, stack.data, stack.size, &ips, &sps)) { in UnwindRecord()
578 auto& stack = unwinding_r.stack_user_data; in ReportUnwindingResult() local
579 const char* p = stack.data; in ReportUnwindingResult()
580 const char* end = stack.data + stack.size; in ReportUnwindingResult()
/system/core/debuggerd/handler/
Ddebuggerd_handler.cpp613 char* stack = static_cast<char*>(thread_stack_allocation) + PAGE_SIZE; in debuggerd_init() local
614 if (mprotect(stack, PAGE_SIZE * thread_stack_pages, PROT_READ | PROT_WRITE) != 0) { in debuggerd_init()
619 stack = (stack + thread_stack_pages * PAGE_SIZE - 1); in debuggerd_init()
621 stack -= 15; in debuggerd_init()
622 pseudothread_stack = stack; in debuggerd_init()
/system/chre/host/msm/daemon/generated/
Dchre_slpi_skel.c181 uint8_t* stack; member
214 if((_ALIGN_SIZE((uintptr_t)me->stackEnd, al) + size) < (uintptr_t)me->stack + me->nSize) { in _allocator_alloc()
236 static __inline void _allocator_init(_allocator* me, uint8_t* stack, int stackSize) { in _allocator_init() argument
237 me->stack = stack; in _allocator_init()
238 me->stackEnd = stack + stackSize; in _allocator_init()
/system/unwinding/libunwindstack/offline_files/straddle_arm/
Dmaps.txt2 f3002000-f3005fff rw-p 00000000 00:00 0 [stack:25941]
/system/unwinding/libbacktrace/testdata/arm/
Doffline_testdata_for_libandroid_runtime4 stack: start: d8fe6948 end: d8fe6958 size: 16 000000000000000000000000e7dcf6f1
/system/memory/libmeminfo/testdata1/
Dsmaps3257 70074a909000-70074a90a000 ---p 00000000 00:00 0 [anon:thread stack guard]
3258 Name: [anon:thread stack guard]
3378 70074c78d000-70074c78e000 ---p 00000000 00:00 0 [anon:thread stack guard]
3379 Name: [anon:thread stack guard]
3460 70074d293000-70074d294000 ---p 00000000 00:00 0 [anon:thread stack guard]
3461 Name: [anon:thread stack guard]
3542 70074db99000-70074db9a000 ---p 00000000 00:00 0 [anon:thread stack guard]
3543 Name: [anon:thread stack guard]
3583 70074dc93000-70074dc94000 ---p 00000000 00:00 0 [anon:thread stack guard]
3584 Name: [anon:thread stack guard]
[all …]
/system/unwinding/libbacktrace/testdata/arm64/
Doffline_testdata_for_libskia4 stack: start: 7b8c154b80 end: 7b8c154bc0 size: 64 0000000000000000000000000000000000000000000000000…

123456789