Home
last modified time | relevance | path

Searched refs:CallFrame (Results 1 – 22 of 22) sorted by relevance

/developtools/hiperf/test/unittest/common/native/
Dcallstack_test.cpp65 std::vector<CallFrame> stack1 = {
70 std::vector<CallFrame> stack2 = {};
93 std::vector<CallFrame> stack1 = {
98 std::vector<CallFrame> stack2 = {
123 std::vector<CallFrame> stack1 = {
128 std::vector<CallFrame> stack2 = {
154 std::vector<CallFrame> stack1 = {
159 std::vector<CallFrame> stack2 = {
186 std::vector<CallFrame> stack1 = {
191 std::vector<CallFrame> stack2 = {
[all …]
Dreport_json_file_test.cpp70 std::vector<CallFrame> frames = { in PrepairReportJson()
75 std::vector<CallFrame> frames2 = { in PrepairReportJson()
/developtools/profiler/device/plugins/native_daemon/include/
Dstack_preprocess.h72 using CallFrame = OHOS::Developtools::NativeDaemon::CallFrame;
89 void SetHookData(RawStackPtr RawStack, std::vector<CallFrame>& callFrames,
92 void WriteFrames(RawStackPtr RawStack, const std::vector<CallFrame>& callFrames);
93 void SetFrameInfo(Frame& frame, CallFrame& callFrame);
94 void ReportSymbolNameMap(CallFrame& callFrame, BatchNativeHookData& batchNativeHookData);
95 void ReportFilePathMap(CallFrame& callFrame, BatchNativeHookData& batchNativeHookData);
96 void ReportFrameMap(CallFrame& callFrame, BatchNativeHookData& batchNativeHookData);
105 void FillOfflineCallStack(std::vector<CallFrame>& callFrames, size_t idx);
106 void FillCallStack(std::vector<CallFrame>& callFrames,
109 uint32_t GetCallStackId(const RawStackPtr& rawStack, std::vector<CallFrame>& callFrames,
[all …]
Dperf_event_record.h43 struct CallFrame { struct
58 CallFrame(uint64_t ip, uint64_t sp = 0) : ip_(ip), sp_(sp) {} in ip_() argument
61 CallFrame(uint64_t ip, uint64_t vaddrInFile, const char *name, const char *filePath) in CallFrame() argument
65 bool operator==(const CallFrame &b) const
69 bool operator!=(const CallFrame &b) const
Dcall_stack.h45 const u8 *stack, u64 stackSize, std::vector<CallFrame> &,
47 size_t ExpendCallStack(pid_t tid, std::vector<CallFrame> &callFrames, size_t expendLimit = 1u);
57 void LogFrame(const std::string msg, const std::vector<CallFrame> &frames);
58 size_t ExpendCallStack(std::vector<CallFrame> &newCallFrames,
59 const std::vector<CallFrame> &cachedCallFrames, size_t expendLimit);
62 std::map<pid_t, HashList<uint64_t, std::vector<CallFrame>>> cachedCallFramesMap_;
90 void UnwindStep(unw_cursor_t &c, std::vector<CallFrame> &callFrames, size_t maxStackLevel);
105 bool DoUnwind(const VirtualThread &thread, std::vector<CallFrame> &callStack,
112 …bool DoUnwind2(const VirtualThread &thread, std::vector<CallFrame> &callStack, size_t maxStackLeve…
Dvirtual_runtime.h67 const DfxSymbol GetSymbol(CallFrame& callFrame, pid_t pid, pid_t tid,
81 std::vector<CallFrame>& callFrames,
83 …bool GetSymbolName(pid_t pid, pid_t tid, std::vector<CallFrame>& callFrames, int offset, bool firs…
179 void MakeCallFrame(DfxSymbol &symbol, CallFrame &callFrame);
187 void FillSymbolNameId(CallFrame& callFrame, DfxSymbol& symbol);
188 void FillFileSet(CallFrame& callFrame, const DfxSymbol& symbol);
Dhook_manager.h108 std::vector<OHOS::Developtools::NativeDaemon::CallFrame>& callFrames,
/developtools/hiperf/include/
Dcallstack.h60 const u8 *stack, u64 stackSize, std::vector<CallFrame> &,
62 size_t ExpandCallStack(pid_t tid, std::vector<CallFrame> &callFrames, size_t expandLimit = 1u);
75 void LogFrame(const std::string msg, const std::vector<CallFrame> &frames);
76 size_t DoExpandCallStack(std::vector<CallFrame> &newCallFrames,
77 const std::vector<CallFrame> &cachedCallFrames, size_t expandLimit);
80 std::map<pid_t, HashList<uint64_t, std::vector<CallFrame>>> cachedCallFramesMap_;
106 void UnwindStep(unw_cursor_t &c, std::vector<CallFrame> &callFrames, size_t maxStackLevel);
125 bool DoUnwind(const VirtualThread &thread, std::vector<CallFrame> &callStack,
132 …bool DoUnwind2(const VirtualThread &thread, std::vector<CallFrame> &callStack, size_t maxStackLeve…
Dperf_event_record.h48 struct CallFrame { struct
58 CallFrame(uint64_t ip, uint64_t sp = 0) : ip_(ip), sp_(sp) {} in ip_() argument
61 CallFrame(uint64_t ip, uint64_t vaddrInFile, const char *name, const char *filePath) in CallFrame() argument
65 bool operator==(const CallFrame &b) const
69 bool operator!=(const CallFrame &b) const
244 static std::vector<CallFrame> callFrames_;
Dreport_json_file.h371 std::vector<CallFrame> &frames);
399 const std::vector<CallFrame> &frames);
401 const std::vector<CallFrame> &frames);
Dvirtual_runtime.h194 void MakeCallFrame(DfxSymbol &symbol, CallFrame &callFrame);
/developtools/hiperf/src/
Dcallstack.cpp379 void CallStack::UnwindStep(unw_cursor_t &c, std::vector<CallFrame> &callStack, size_t maxStackLevel) in UnwindStep()
441 bool CallStack::DoUnwind(const VirtualThread &thread, std::vector<CallFrame> &callStack, in DoUnwind()
475 const u8 *stack, u64 stackSize, std::vector<CallFrame> &callStack, in UnwindCallStack()
518 void CallStack::LogFrame(const std::string msg, const std::vector<CallFrame> &frames) in LogFrame()
543 size_t CallStack::DoExpandCallStack(std::vector<CallFrame> &newCallFrames, in DoExpandCallStack()
544 const std::vector<CallFrame> &cachedCallFrames, in DoExpandCallStack()
608 size_t CallStack::ExpandCallStack(pid_t tid, std::vector<CallFrame> &callFrames, size_t expandLimit) in ExpandCallStack()
622 HashList<uint64_t, std::vector<CallFrame>> &cachedCallFrames = cachedCallFramesMap_[tid]; in ExpandCallStack()
638 const std::vector<CallFrame> &cachedCallStack = *itr; in ExpandCallStack()
658 bool CallStack::DoUnwind2(const VirtualThread &thread, std::vector<CallFrame> &callStack, in DoUnwind2()
Dreport_json_file.cpp106 const std::vector<CallFrame> &frames) in AddReportCallStack()
138 const std::vector<CallFrame> &frames) in AddReportCallStackReverse()
192 std::vector<CallFrame> &frames) in UpdateReportCallStack()
Dreport_protobuf_file.cpp125 for (const CallFrame &frame : recordSample.callFrames_) { in ProcessSampleRecord()
Dperf_event_record.cpp210 std::vector<CallFrame> PerfRecordSample::callFrames_ = {};
243 bool ret = std::all_of(callFrames_.begin(), callFrames_.end(), [&](const CallFrame &frame) { in ReplaceWithCallStack()
Dvirtual_runtime.cpp453 void VirtualRuntime::MakeCallFrame(DfxSymbol &symbol, CallFrame &callFrame) in MakeCallFrame()
/developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/
Dhtrace_js_cpu_profiler_parser.cpp23 struct CallFrame { struct
32 CallFrame callFrame;
36 void from_json(const json& j, CallFrame& callFrame) in from_json()
/developtools/profiler/device/plugins/native_daemon/src/
Dvirtual_runtime.cpp108 void VirtualRuntime::MakeCallFrame(DfxSymbol &symbol, CallFrame &callFrame) in MakeCallFrame()
125 bool VirtualRuntime::GetSymbolName(pid_t pid, pid_t tid, std::vector<CallFrame>& callFrames, int of… in GetSymbolName()
196 std::vector<CallFrame>& callFrames, in UnwindStack()
418 const DfxSymbol VirtualRuntime::GetSymbol(CallFrame& callFrame, pid_t pid, pid_t tid, in GetSymbol()
482 inline void VirtualRuntime::FillSymbolNameId(CallFrame& callFrame, DfxSymbol& symbol) in FillSymbolNameId()
494 inline void VirtualRuntime::FillFileSet(CallFrame& callFrame, const DfxSymbol& symbol) in FillFileSet()
Dstack_preprocess.cpp383 inline void StackPreprocess::FillOfflineCallStack(std::vector<CallFrame>& callFrames, size_t idx) in FillOfflineCallStack()
390 inline void StackPreprocess::FillCallStack(std::vector<CallFrame>& callFrames, in FillCallStack()
453 std::vector<CallFrame>& callFrames, in GetCallStackId()
483 std::vector<CallFrame>& callFrames, in SetEventFrame()
504 std::vector<CallFrame>& callFrames, in SetAllocStatisticsFrame()
584 std::vector<CallFrame>& callFrames, BatchNativeHookData& batchNativeHookData) in SetHookData()
763 void StackPreprocess::WriteFrames(RawStackPtr rawStack, const std::vector<CallFrame>& callFrames) in WriteFrames()
806 inline void StackPreprocess::SetFrameInfo(Frame& frame, CallFrame& callFrame) in SetFrameInfo()
825 inline void StackPreprocess::ReportSymbolNameMap(CallFrame& callFrame, BatchNativeHookData& batchNa… in ReportSymbolNameMap()
836 inline void StackPreprocess::ReportFilePathMap(CallFrame& callFrame, BatchNativeHookData& batchNati… in ReportFilePathMap()
[all …]
Dcall_stack.cpp354 void CallStack::UnwindStep(unw_cursor_t &c, std::vector<CallFrame> &callStack, size_t maxStackLevel) in UnwindStep()
410 bool CallStack::DoUnwind(const VirtualThread &thread, std::vector<CallFrame> &callStack, in DoUnwind()
441 const u8 *stack, u64 stackSize, std::vector<CallFrame> &callStack, in UnwindCallStack()
502 bool CallStack::DoUnwind2(const VirtualThread &thread, std::vector<CallFrame> &callStack, in DoUnwind2()
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/
Dcallstack_test.cpp72 std::vector<CallFrame> callFrames;
Dvirtual_runtime_test.cpp165 CallFrame callFrame(0);