Home
last modified time | relevance | path

Searched refs:callFrames (Results 1 – 10 of 10) sorted by relevance

/developtools/profiler/device/plugins/native_daemon/src/
Dvirtual_runtime.cpp125 bool VirtualRuntime::GetSymbolName(pid_t pid, pid_t tid, std::vector<CallFrame>& callFrames, int of… in GetSymbolName() argument
132 HLOGV("total %zu frames", callFrames.size()); in GetSymbolName()
135 …for (auto callFrameIt = callFrames.begin() + offset; callFrameIt != callFrames.end(); ++callFrameI… in GetSymbolName()
156 callFrames.erase(callFrameIt, callFrames.end()); in GetSymbolName()
161 callFrames.erase(callFrameIt, callFrames.end()); in GetSymbolName()
169 if (callFrames.back().isJsFrame_) { //The fp mode js call stack is behind the native in GetSymbolName()
171 callFrameIt = callFrames.erase(callFrameIt); in GetSymbolName()
175 callFrames.erase(callFrameIt, callFrames.end()); in GetSymbolName()
179 int index = callFrameIt - callFrames.begin(); in GetSymbolName()
207 std::vector<CallFrame>& callFrames, in UnwindStack() argument
[all …]
Dstack_preprocess.cpp475 inline void StackPreprocess::FillOfflineCallStack(std::vector<CallFrame>& callFrames, size_t idx, T… in FillOfflineCallStack() argument
477 for (; idx < callFrames.size(); ++idx) { in FillOfflineCallStack()
478 if (callFrames[idx].isJsFrame_) { in FillOfflineCallStack()
479 ReportFrameMap(callFrames[idx], stackData); in FillOfflineCallStack()
480 callStack_.push_back(callFrames[idx].callFrameId_ | JS_OFFLINE_IP_MASK); in FillOfflineCallStack()
483 callStack_.push_back(callFrames[idx].ip_); in FillOfflineCallStack()
488 inline void StackPreprocess::FillCallStack(std::vector<CallFrame>& callFrames, size_t idx, T& stack… in FillCallStack() argument
490 for (; idx < callFrames.size(); ++idx) { in FillCallStack()
491 ReportFrameMap(callFrames[idx], stackData); in FillCallStack()
493 callStack_.push_back(callFrames[idx].callFrameId_); in FillCallStack()
[all …]
/developtools/profiler/device/plugins/native_daemon/include/
Dstack_preprocess.h117 void SetHookData(RawStackPtr rawStack, std::vector<CallFrame>& callFrames, T& stackData);
118 void WriteFrames(RawStackPtr RawStack, const std::vector<CallFrame>& callFrames);
138 void FillOfflineCallStack(std::vector<CallFrame>& callFrames, size_t idx, T& stackData);
140 void FillCallStack(std::vector<CallFrame>& callFrames, size_t idx, T& stackData);
144 …uint32_t GetCallStackId(const RawStackPtr& rawStack, std::vector<CallFrame>& callFrames, T& stackD…
147 void SetEventFrame(const RawStackPtr& rawStack, std::vector<CallFrame>& callFrames,
153 …void SetAllocStatisticsFrame(const RawStackPtr& rawStack, std::vector<CallFrame>& callFrames, T& s…
157 …void SetApplyAndReleaseMatchFrame(RawStackPtr rawStack, std::vector<CallFrame>& callFrames, T& sta…
173 … void FillNapiStack(std::string& tagName, std::vector<CallFrame>& callFrames, uint64_t napiIndex);
Dcall_stack.h47 size_t ExpendCallStack(pid_t tid, std::vector<CallFrame> &callFrames, size_t expendLimit = 1u);
90 void UnwindStep(unw_cursor_t &c, std::vector<CallFrame> &callFrames, size_t maxStackLevel);
Dvirtual_runtime.h81 std::vector<CallFrame>& callFrames,
83 …bool GetSymbolName(pid_t pid, pid_t tid, std::vector<CallFrame>& callFrames, int offset, bool firs…
Dhook_manager.h132 std::vector<OHOS::Developtools::NativeDaemon::CallFrame>& callFrames,
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/
Dcallstack_test.cpp72 std::vector<CallFrame> callFrames; variable
74 … callStack.UnwindCallStack(thread, regs.data(), regs.size(), data.data(), data.size(), callFrames);
76 … callStack.UnwindCallStack(thread, regs.data(), regs.size(), data.data(), data.size(), callFrames);
/developtools/hiperf/include/
Dcallstack.h61 size_t ExpandCallStack(pid_t tid, std::vector<DfxFrame> &callFrames, size_t expandLimit = 1u);
105 void UnwindStep(unw_cursor_t &c, std::vector<DfxFrame> &callFrames, size_t maxStackLevel);
/developtools/hiperf/test/unittest/common/native/
Dcallstack_test.cpp635 std::vector<DfxFrame> callFrames; variable
639 callFrames);
641 ASSERT_LE(TEST_DWARF_FRAMES.size(), callFrames.size());
/developtools/hiperf/src/
Dcallstack.cpp607 size_t CallStack::ExpandCallStack(pid_t tid, std::vector<DfxFrame> &callFrames, size_t expandLimit) in ExpandCallStack() argument
612 } else if (callFrames.size() < expandLimit) { in ExpandCallStack()
619 if (callFrames.size() >= 1u) { in ExpandCallStack()
642 expand = DoExpandCallStack(callFrames, cachedCallStack, expandLimit); in ExpandCallStack()
650 cachedCallFrames[callFrames[0].pc] = callFrames; in ExpandCallStack()