Home
last modified time | relevance | path

Searched refs:ignoreDepth (Results 1 – 4 of 4) sorted by relevance

/system/core/libutils/
DCallStack.cpp33 CallStack::CallStack(const char* logtag, int32_t ignoreDepth) { in CallStack() argument
34 this->update(ignoreDepth+1); in CallStack()
41 void CallStack::update(int32_t ignoreDepth, pid_t tid) { in update() argument
42 if (ignoreDepth < 0) { in update()
43 ignoreDepth = 0; in update()
57 for (size_t i = ignoreDepth; i < data.frames.size(); i++) { in update()
59 frame.num -= ignoreDepth; in update()
95 CallStack::CallStackUPtr CallStack::getCurrentInternal(int ignoreDepth) { in getCurrentInternal() argument
97 stack->update(ignoreDepth + 1); in getCurrentInternal()
DCallStack_fuzz.cpp27 size_t ignoreDepth = dataProvider.ConsumeIntegralInRange<size_t>(0, MAX_IGNORE_DEPTH); in LLVMFuzzerTestOneInput() local
36 android::CallStack::CallStackUPtr callStack = android::CallStack::getCurrent(ignoreDepth); in LLVMFuzzerTestOneInput()
44 callstackPtr->getCurrent(ignoreDepth); in LLVMFuzzerTestOneInput()
46 callstackPtr->update(ignoreDepth, tid); in LLVMFuzzerTestOneInput()
DProcessCallStack.cpp179 int ignoreDepth = (selfPid == tid) ? IGNORE_DEPTH_CURRENT_THREAD : 0; in update() local
182 threadInfo.callStack.update(ignoreDepth, tid); in update()
/system/core/libutils/include/utils/
DCallStack.h54 CallStack(const char* logtag, int32_t ignoreDepth = 1);
62 void update(int32_t ignoreDepth = 1, pid_t tid = -1);
106 static CallStackUPtr CALLSTACK_ALWAYS_INLINE getCurrent(int32_t ignoreDepth = 1) {
111 return getCurrentInternal(ignoreDepth);
157 static CallStackUPtr CALLSTACK_WEAK getCurrentInternal(int32_t ignoreDepth);