/developtools/profiler/device/plugins/native_daemon/src/ |
D | virtual_runtime.cpp | 108 void VirtualRuntime::MakeCallFrame(DfxSymbol &symbol, CallFrame &callFrame) in MakeCallFrame() argument 110 callFrame.vaddrInFile_ = symbol.funcVaddr_; in MakeCallFrame() 111 callFrame.symbolName_ = symbol.symbolName_; in MakeCallFrame() 112 callFrame.symbolIndex_ = symbol.index_; in MakeCallFrame() 113 callFrame.filePath_ = symbol.module_.empty() ? symbol.comm_ : symbol.module_; in MakeCallFrame() 114 callFrame.symbolOffset_ = symbol.offset_; in MakeCallFrame() 115 callFrame.callFrameId_ = symbol.symbolId_; in MakeCallFrame() 116 callFrame.symbolNameId_ = symbol.symbolNameId_; in MakeCallFrame() 117 callFrame.filePathId_ = symbol.filePathId_; in MakeCallFrame() 119 callFrame.offset_ = symbol.funcVaddr_; in MakeCallFrame() [all …]
|
D | stack_preprocess.cpp | 806 inline void StackPreprocess::SetFrameInfo(Frame& frame, CallFrame& callFrame) in SetFrameInfo() argument 808 frame.set_ip(callFrame.ip_); in SetFrameInfo() 812 frame.set_sp(callFrame.sp_); in SetFrameInfo() 813 frame.set_offset(callFrame.offset_); in SetFrameInfo() 814 frame.set_symbol_offset(callFrame.symbolOffset_); in SetFrameInfo() 816 if (callFrame.symbolNameId_ != 0 && callFrame.filePathId_ != 0) { in SetFrameInfo() 817 frame.set_symbol_name_id(callFrame.symbolNameId_); in SetFrameInfo() 818 frame.set_file_path_id(callFrame.filePathId_); in SetFrameInfo() 820 frame.set_symbol_name(std::string(callFrame.symbolName_)); in SetFrameInfo() 821 frame.set_file_path(std::string(callFrame.filePath_)); in SetFrameInfo() [all …]
|
/developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/ |
D | htrace_js_cpu_profiler_parser.cpp | 32 CallFrame callFrame; member 36 void from_json(const json& j, CallFrame& callFrame) in from_json() argument 38 j.at("functionName").get_to(callFrame.functionName); in from_json() 39 j.at("scriptId").get_to(callFrame.scriptId); in from_json() 40 j.at("url").get_to(callFrame.url); in from_json() 41 j.at("lineNumber").get_to(callFrame.lineNumber); in from_json() 42 j.at("columnNumber").get_to(callFrame.columnNumber); in from_json() 49 j.at("callFrame").get_to(node.callFrame); in from_json() 72 auto functionName = node.callFrame.functionName; in ParseNodeData() 74 auto scriptId = node.callFrame.scriptId; in ParseNodeData() [all …]
|
/developtools/hiperf/src/ |
D | report.cpp | 451 void Report::OutputStdCallFrames(int indent, const ReportItemCallFrame &callFrame, in OutputStdCallFrames() argument 464 if (!OutputStdCallFrame(indent, callFrame.func_, callFrame.eventCount_, totalEventCount)) { in OutputStdCallFrames() 470 if (callFrame.selfEventCount_ != 0 and callFrame.selfEventCount_ != callFrame.eventCount_) { in OutputStdCallFrames() 472 callFrame.selfEventCount_, callFrame.eventCount_); in OutputStdCallFrames() 477 if (callFrame.childs.size() == 1u and in OutputStdCallFrames() 478 callFrame.childs[0].eventCount_ == callFrame.eventCount_) { in OutputStdCallFrames() 479 HLOGV("childCallFream %*c %s", indent, ' ', callFrame.childs[0].func_.data()); in OutputStdCallFrames() 481 OutputStdCallFrames(indent, callFrame.childs[0], callFrame.eventCount_); in OutputStdCallFrames() 484 for (const ReportItemCallFrame &childCallFrame : callFrame.childs) { in OutputStdCallFrames() 486 OutputStdCallFrames(indent + CALLSTACK_INDENT, childCallFrame, callFrame.eventCount_); in OutputStdCallFrames() [all …]
|
D | virtual_runtime.cpp | 453 void VirtualRuntime::MakeCallFrame(DfxSymbol &symbol, CallFrame &callFrame) in MakeCallFrame() argument 455 callFrame.vaddrInFile_ = symbol.funcVaddr_; in MakeCallFrame() 456 callFrame.offsetToVaddr_ = symbol.offsetToVaddr_; in MakeCallFrame() 457 callFrame.symbolFileIndex_ = symbol.symbolFileIndex_; in MakeCallFrame() 458 callFrame.symbolName_ = symbol.GetName(); in MakeCallFrame() 459 callFrame.symbolIndex_ = symbol.index_; in MakeCallFrame() 460 callFrame.filePath_ = symbol.module_.empty() ? symbol.comm_ : symbol.module_; in MakeCallFrame() 461 HLOG_ASSERT_MESSAGE(!callFrame.symbolName_.empty(), "%s", symbol.ToDebugString().c_str()); in MakeCallFrame()
|
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
D | virtual_runtime_test.cpp | 165 CallFrame callFrame(0); variable 167 symbol = runtime_->GetSymbol(callFrame, TEST_TID, TEST_TID); 170 callFrame.ip_ = TEST_KERNEL_VADDR + TEST_USET_MAP_BEGIN; 171 symbol = runtime_->GetSymbol(callFrame, TEST_TID, TEST_TID);
|
/developtools/profiler/device/plugins/native_daemon/include/ |
D | stack_preprocess.h | 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);
|
D | virtual_runtime.h | 67 const DfxSymbol GetSymbol(CallFrame& callFrame, pid_t pid, pid_t tid, 179 void MakeCallFrame(DfxSymbol &symbol, CallFrame &callFrame); 187 void FillSymbolNameId(CallFrame& callFrame, DfxSymbol& symbol); 188 void FillFileSet(CallFrame& callFrame, const DfxSymbol& symbol);
|
/developtools/smartperf_host/ide/src/trace/database/data-trafic/ |
D | ArkTsReceiver.ts | 196 const callFrame = symbolToChartFrame(sample, symbol); constant 197 lastSymbol!.children.push(callFrame); 198 lastSymbol!.childrenIds.push(callFrame.id); 199 callFrame.parentId = lastSymbol!.id; 200 lastSymbol = callFrame;
|
/developtools/hiperf/include/ |
D | virtual_runtime.h | 194 void MakeCallFrame(DfxSymbol &symbol, CallFrame &callFrame);
|
/developtools/smartperf_host/trace_streamer/src/parser/hiperf_parser/ |
D | perf_data_parser.cpp | 614 for (auto& callFrame : sample->callFrames_) { in UpdateCallChainUnCompressed() local 615 stackStr += "+" + base::number(callFrame.ip_, base::INTEGER_RADIX_TYPE_HEX); in UpdateCallChainUnCompressed()
|