Home
last modified time | relevance | path

Searched refs:pc (Results 1 - 23 of 23) sorted by relevance

/developtools/hiperf/src/
H A Dcallstack.cpp406 if (callStack.back().pc == ip && callStack.back().sp == sp) { in UnwindStep()
647 cachedCallFrames[callFrames[0].pc] = callFrames; in ExpandCallStack()
687 HLOGD("pc 0x%" PRIx64 " sp 0x%" PRIx64 "", frame.pc, frame.sp); in DoUnwind2()
692 callStack.size() > 1 && lastIt->pc == preIt->pc && lastIt->sp == preIt->sp) { in DoUnwind2()
711 uintptr_t pc, UnwindTableInfo& outTableInfo) in FillUnwindTable()
728 if (elf->FindUnwindTableInfo(pc, map, uti) == 0) { in FillUnwindTable()
745 int CallStack::FindUnwindTable(uintptr_t pc, UnwindTableInfo& outTableInfo, void *arg) in FindUnwindTable() argument
749 int64_t mapIndex = unwindInfoPtr->thread.FindMapIndexByAddr(pc); in FindUnwindTable()
710 FillUnwindTable(SymbolsFile *symbolsFile, std::shared_ptr<DfxMap> map, UnwindInfo *unwindInfoPtr, uintptr_t pc, UnwindTableInfo& outTableInfo) FillUnwindTable() argument
800 GetMapByPc(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg) GetMapByPc() argument
[all...]
H A Dunique_stack_table.cpp128 uint64_t pc = ips[reverseIndex]; in PutIpsInTable() local
130 if (pc == 0) { in PutIpsInTable()
133 prev = PutIpInSlot(pc, prev); in PutIpsInTable()
H A Dspe_decoder.cpp910 auto data1 = map.find(data.pc); in AddReportItems()
912 HLOGV("add %llx", data.pc); in AddReportItems()
913 map[data.pc] = {type, 0.0f, 1, data.comm, data.pc, data.SharedObject, data.Symbol, data.offset}; in AddReportItems()
915 HLOGV("add pc: %llx", data.pc); in AddReportItems()
917 HLOGV("add pc: %llx count: %llu", data.pc, data1->second.count); in AddReportItems()
989 const std::string pc = " PC"; in DumpSpeReportHead() local
990 PRINT_INDENT(indent, "%-*s ", SPE_PERCENTAGE_PC_LEN, pc in DumpSpeReportHead()
[all...]
H A Dvirtual_runtime.cpp809 u64 pc = 0; in UpdateFromRecord() local
811 pc = rec.from_ip; in UpdateFromRecord()
813 pc = rec.to_ip; in UpdateFromRecord()
817 DfxSymbol symbol = GetSymbol(pc, recordAuxTrace.data_.reserved__, recordAuxTrace.data_.tid); in UpdateFromRecord()
818 HLOGV("pc 0x%llx symbol %s", pc, symbol.ToDebugString().c_str()); in UpdateFromRecord()
819 struct ReportItemAuxRawData reportItem = {rec.type, 0.0f, 1, symbol.comm_.data(), pc, in UpdateFromRecord()
844 u64 pc = 0; in SymbolSpeRecord() local
846 pc = record.from_ip; in SymbolSpeRecord()
848 pc in SymbolSpeRecord()
[all...]
H A Dreport.cpp58 HLOG_ASSERT(frameIt->pc < PERF_CONTEXT_MAX); in AddReportItem()
75 HLOG_ASSERT(frameIt->pc < PERF_CONTEXT_MAX); in AddReportItem()
H A Dreport_protobuf_file.cpp128 callframe->set_loaded_vaddr(frame.pc - frame.mapOffset); in ProcessSampleRecord()
H A Dsymbols_file.cpp175 DfxSymbol GetSymbolWithPcAndMap(uint64_t pc, std::shared_ptr<DfxMap> map) override
H A Dperf_event_record.cpp341 ips_.emplace_back(frame.pc); in ReplaceWithCallStack()
/developtools/profiler/device/plugins/native_daemon/include/
H A Dcall_stack.h111 static bool CheckAndStepArkFrame(const VirtualThread &thread, uintptr_t& pc, uintptr_t& fp, uintptr_t& sp);
117 uintptr_t pc, UnwindTableInfo& outTableInfo);
118 static int FindUnwindTable(uintptr_t pc, UnwindTableInfo& outTableInfo, void *arg);
120 static int GetMapByPc(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg);
H A Dsymbols_file.h178 virtual DfxSymbol GetSymbolWithPcAndMap(uint64_t pc, std::shared_ptr<DfxMap> map) in GetSymbolWithPcAndMap() argument
/developtools/profiler/device/plugins/native_daemon/src/
H A Dcall_stack.cpp536 HLOGD("pc 0x%" PRIx64 " sp 0x%" PRIx64 " isJsFrame = %d", frame.pc, frame.sp, frame.isJsFrame); in DoUnwind2()
537 callStack.emplace_back(frame.pc, frame.sp, frame.isJsFrame); in DoUnwind2()
544 HLOGD("pc 0x%" PRIx64 " sp 0x%" PRIx64 " isJsFrame = %d", frame.pc, frame.sp, frame.isJsFrame); in DoUnwind2()
545 callStack.emplace_back(frame.pc, frame.sp, frame.isJsFrame); in DoUnwind2()
562 uintptr_t pc, UnwindTableInfo& outTableInfo) in FillUnwindTable()
578 if (elf->FindUnwindTableInfo(pc, map, uti) == 0) { in FillUnwindTable()
598 int CallStack::FindUnwindTable(uintptr_t pc, UnwindTableInfo& outTableInfo, void *arg) in FindUnwindTable() argument
601 auto map = unwindInfoPtr->thread.FindMapByAddr(pc); in FindUnwindTable()
561 FillUnwindTable(SymbolsFile *symbolsFile, std::shared_ptr<DfxMap> map, UnwindInfo *unwindInfoPtr, uintptr_t pc, UnwindTableInfo& outTableInfo) FillUnwindTable() argument
649 GetMapByPc([[maybe_unused]] uintptr_t pc, [[maybe_unused]] std::shared_ptr<DfxMap>& map, [[maybe_unused]] void *arg) GetMapByPc() argument
[all...]
/developtools/hdc/src/daemon/
H A Dmain.cpp114 pid_t pc = fork(); // create process as daemon process in BackgroundRun() local
115 if (pc < 0) { in BackgroundRun()
117 } else if (!pc) { in BackgroundRun()
/developtools/hiperf/include/
H A Dcallstack.h131 uintptr_t pc, UnwindTableInfo& outTableInfo);
132 static int FindUnwindTable(uintptr_t pc, UnwindTableInfo& outTableInfo, void *arg);
134 static int GetMapByPc(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg);
H A Dsymbols_file.h204 virtual DfxSymbol GetSymbolWithPcAndMap(uint64_t pc, std::shared_ptr<DfxMap> map) in GetSymbolWithPcAndMap() argument
H A Dspe_decoder.h301 u64 pc; member
/developtools/hiperf/test/unittest/common/native/
H A Dspe_decoder_test.cpp194 u64 pc = 0; in HWTEST_F() local
196 pc = rec.from_ip; in HWTEST_F()
198 pc = rec.to_ip; in HWTEST_F()
203 DfxSymbol symbol = virtualRuntime.GetSymbol(pc, 101, 102); // 101: pid, 102: tid in HWTEST_F()
204 struct ReportItemAuxRawData reportItem = {rec.type, 0.0f, 1, symbol.comm_.data(), pc, in HWTEST_F()
H A Dperf_event_record_test.cpp461 ASSERT_EQ(record.data_.ips[i], record.callFrames_.at(i - 1).pc); in HWTEST_F()
487 ASSERT_EQ(record.data_.ips[i], record.callFrames_.at(i - 1).pc); in HWTEST_F()
516 ASSERT_EQ(record.data_.ips[i + ips.size() + 1], record.callFrames_.at(i).pc); in HWTEST_F()
/developtools/hdc/src/host/
H A Dserver.cpp185 pid_t pc = fork(); // create process as daemon process in PullupServer() local
186 if (pc < 0) { in PullupServer()
188 } else if (!pc) { in PullupServer()
/developtools/smartperf_host/trace_streamer/src/parser/hiperf_parser/
H A Dperf_data_parser.cpp673 stackStr += "+" + base::number(callFrame.pc, base::INTEGER_RADIX_TYPE_HEX); in UpdateCallChainUnCompressed()
691 PerfCallChainRow perfCallChainRow = {callChainId, depth++, frame->pc, frame->funcOffset, fileId, frame->index}; in UpdateCallChainUnCompressed()
/developtools/profiler/device/services/profiler_service/test/unittest/
H A Dprofiler_service_performance_test.cpp230 ProcessConfig pc; in SetProcessPluginConfig() local
231 pc.set_report_process_tree(true); in SetProcessPluginConfig()
232 std::vector<uint8_t> configData(pc.ByteSizeLong()); in SetProcessPluginConfig()
233 pc.SerializeToArray(configData.data(), configData.size()); in SetProcessPluginConfig()
/developtools/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/event_formatters/
H A Dftrace_ftrace_event_formatter.cpp212 "mmiotrace_rw: %" PRIx64 " %" PRIx64 " %" PRIx64 " %d %x %x", msg.phys(), msg.value(), msg.pc(),
/developtools/hdc/src/common/
H A Dbase.cpp329 pid_t pc = fork(); // create process in CompressLogFile() local
331 if (pc < 0) { in CompressLogFile()
333 } else if (!pc) { in CompressLogFile()
340 waitpid(pc, &status, 0); in CompressLogFile()
/developtools/profiler/hiebpf/include/
H A Dvmlinux.h800 long unsigned int pc; member
1198 __u64 pc; member
1208 u64 pc; member
14093 long unsigned int pc; member
14550 __u64 pc; member
18452 long unsigned int pc; member
20461 long unsigned int pc; member
24796 u32 pc; member
149757 __u8 pc[8]; global() member
149931 void *pc; global() member
[all...]

Completed in 504 milliseconds