/developtools/profiler/device/plugins/native_daemon/src/ |
D | virtual_runtime.cpp | 216 const Symbol VirtualRuntime::GetKernelSymbol(uint64_t ip, const std::vector<MemMapItem> &memMaps) in GetKernelSymbol() argument 220 if (ip > map.begin_ && ip < map.end_) { in GetKernelSymbol() 222 ip, map.begin_, map.end_, map.name_.c_str()); in GetKernelSymbol() 228 symbolsFile->GetVaddrInSymbols(ip, map.begin_, map.pageoffset_); in GetKernelSymbol() 230 vaddrSymbol.ipVaddr_, ip, map.name_.c_str()); in GetKernelSymbol() 235 HLOGW("addr 0x%" PRIx64 " in map but NOT found the symbol file %s", ip, in GetKernelSymbol() 238 HLOGM("addr 0x%" PRIx64 " not in map 0x%" PRIx64 " - 0x%" PRIx64 " from %s", ip, in GetKernelSymbol() 245 const Symbol VirtualRuntime::GetUserSymbol(uint64_t ip, const VirtualThread &thread) in GetUserSymbol() argument 249 if (thread.FindMapByAddr(ip, mmap)) { in GetUserSymbol() 253 symbolsFile->GetVaddrInSymbols(ip, mmap.begin_, mmap.pageoffset_); in GetUserSymbol() [all …]
|
D | callstack.cpp | 150 UnwindInfo *unwindInfoPtr, unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi, in FindUnwindTable() argument 167 tdep_search_unwind_table(as, ip, &di, pi, need_unwind_info, arg)); in FindUnwindTable() 186 int CallStack::FindProcInfo(unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi, in FindProcInfo() argument 195 HLOGM("need_unwind_info ret %d ip %" UNW_WORD_PFLAG "", need_unwind_info, ip); in FindProcInfo() 197 if (unwindInfoPtr->thread.FindMapByAddr(ip, mmap)) { in FindProcInfo() 207 return FindUnwindTable(symbolsFile, mmap, unwindInfoPtr, as, ip, pi, di, in FindProcInfo() 214 HLOGE("ip 0x%016" UNW_WORD_PFLAG " not found in thread %d:%s", ip, in FindProcInfo() 350 unw_word_t ip, sp; in UnwindStep() local 351 unw_get_reg(&c, UNW_REG_IP, &ip); in UnwindStep() 354 if (ip == 0) { in UnwindStep() [all …]
|
/developtools/hiperf/src/ |
D | virtual_runtime.cpp | 306 void VirtualRuntime::SymbolicCallFrame(PerfRecordSample &recordSample, uint64_t ip, in SymbolicCallFrame() argument 309 auto symbol = GetSymbol(ip, recordSample.data_.pid, recordSample.data_.tid, context); in SymbolicCallFrame() 310 MakeCallFrame(symbol, recordSample.callFrames_.emplace_back(ip, 0)); in SymbolicCallFrame() 325 SymbolicCallFrame(recordSample, recordSample.data_.ip, PERF_CONTEXT_MAX); in SymbolicRecord() 328 uint64_t ip = recordSample.data_.ips[i]; in SymbolicRecord() local 329 if (ip >= PERF_CONTEXT_MAX) { in SymbolicRecord() 330 std::string contextName = UpdatePerfContext(ip, context); in SymbolicRecord() 333 } else if (ip < BAD_IP_ADDRESS) { in SymbolicRecord() 337 SymbolicCallFrame(recordSample, ip, context); in SymbolicRecord() 476 const Symbol VirtualRuntime::GetKernelSymbol(uint64_t ip, const std::vector<MemMapItem> &memMaps, in GetKernelSymbol() argument [all …]
|
D | callstack.cpp | 156 UnwindInfo *unwindInfoPtr, unw_addr_space_t as, unw_word_t ip, in FindUnwindTable() argument 210 tdep_search_unwind_table(as, ip, &di, pi, need_unwind_info, arg)); in FindUnwindTable() 229 int CallStack::FindProcInfo(unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi, in FindProcInfo() argument 234 HLOGM("need_unwind_info ret %d ip %" UNW_WORD_PFLAG "", need_unwind_info, ip); in FindProcInfo() 235 const MemMapItem *mmap = unwindInfoPtr->thread.FindMapByAddr(ip); in FindProcInfo() 239 return FindUnwindTable(symbolsFile, *mmap, unwindInfoPtr, as, ip, pi, need_unwind_info, in FindProcInfo() 246 HLOGE("ip 0x%016" UNW_WORD_PFLAG " not found in thread %d:%s", ip, in FindProcInfo() 378 unw_word_t ip, sp; in UnwindStep() local 379 unw_get_reg(&c, UNW_REG_IP, &ip); in UnwindStep() 382 if (ip == 0) { in UnwindStep() [all …]
|
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/datasources/utils/device/entity/ |
D | DeviceIPPortInfo.java | 33 private String ip; field in DeviceIPPortInfo 67 return ip; in getIp() 70 public void setIp(String ip) { in setIp() argument 71 this.ip = ip; in setIp() 135 ….hash(deviceID, deviceName, ip, port, deviceType, connectType, forwardPort, deviceStatus, retryNum… in hashCode()
|
/developtools/profiler/host/ohosprofiler/src/test/java/ohos/devtools/datasources/transport/grpc/ |
D | ProfilerClientTest.java | 45 private String ip; field in ProfilerClientTest 64 ip = ""; in setUp() 165 ProfilerClient profilerClient = new ProfilerClient(ip, port, channel); in getCapabilitiesTest01() 182 ProfilerClient profilerClient = new ProfilerClient(ip, port, channel); in getCapabilitiesTest02() 199 ProfilerClient profilerClient = new ProfilerClient(ip, 0, channel); in getCapabilitiesTest03() 250 ProfilerClient profilerClient = new ProfilerClient(ip, port, channel); in createSessionTest01() 282 ProfilerClient profilerClient = new ProfilerClient(ip, port, channel); in createSessionTest02() 298 ProfilerClient profilerClient = new ProfilerClient(ip, -1, channel); in createSessionTest03() 346 ProfilerClient profilerClient = new ProfilerClient(ip, 0, channel); in createSessionTest05() 378 ProfilerClient profilerClient = new ProfilerClient(ip, port, channel); in startSessionTest01() [all …]
|
/developtools/profiler/host/ohosprofiler/src/main/resources/sql/ |
D | QueryProcessData.sql | 19 …select it.id,tid,pid,ip.name as process,it.name as thread from thread as it left join process ip o…
|
/developtools/profiler/host/ohosprofiler/src/main/resources/sql-self/ |
D | QueryProcessData.sql | 20 …select it.id,tid,pid,ip.name as process,it.name as thread from thread as it left join process ip o…
|
D | QueryProcessDataCount.sql | 20 …select it.id,tid,pid,ip.name as process,it.name as thread from thread as it left join process ip o…
|
D | QueryProcessDataLimit.sql | 20 …select it.id,tid,pid,ip.name as process,it.name as thread from thread as it left join process ip o…
|
/developtools/profiler/device/plugins/native_daemon/include/ |
D | virtual_runtime.h | 62 const Symbol GetSymbol(uint64_t ip, pid_t pid, pid_t tid, 102 bool GetSymbolCache(uint64_t ip, pid_t pid, pid_t tid, Symbol &symbol, 104 void UpdateSymbolCache(uint64_t ip, Symbol &symbol, HashList<uint64_t, Symbol> &cache); 114 const Symbol GetKernelSymbol(uint64_t ip, const std::vector<MemMapItem> &memMaps); 115 const Symbol GetUserSymbol(uint64_t ip, const VirtualThread &thread);
|
D | perf_event_record.h | 48 CallFrame(uint64_t ip, uint64_t sp) : ip_(ip), sp_(sp) {} in CallFrame()
|
D | callstack.h | 110 bool GetIpSP(uint64_t &ip, uint64_t &sp, const std::vector<u64> ®s) const; 126 static int FindProcInfo(unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi, 140 UnwindInfo *unwindInfoPtr, unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi,
|
/developtools/hiperf/include/ |
D | virtual_runtime.h | 90 const Symbol GetSymbol(uint64_t ip, pid_t pid, pid_t tid, 136 bool GetSymbolCache(uint64_t ip, pid_t pid, pid_t tid, Symbol &symbol, 157 const Symbol GetKernelSymbol(uint64_t ip, const std::vector<MemMapItem> &memMaps, 159 const Symbol GetUserSymbol(uint64_t ip, const VirtualThread &thread); 163 void SymbolicCallFrame(PerfRecordSample &recordSample, uint64_t ip,
|
D | callstack.h | 74 bool GetIpSP(uint64_t &ip, uint64_t &sp, const u64 *regs, size_t regNum) const; 83 static int FindProcInfo(unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi, 97 UnwindInfo *unwindInfoPtr, unw_addr_space_t as, unw_word_t ip,
|
/developtools/profiler/host/smartperf/ide/ |
D | README_zh.md | 88 在浏览器上打开 https://[部署机器ip地址]:9001/application/ 92 可以在window cmd 里执行telnet [部署机器ip地址] 9001
|
/developtools/profiler/host/smartperf/doc/ |
D | compile_smartperf.md | 88 在浏览器上打开 https://[部署机器ip地址]:9001/application/ 92 可以在window cmd 里执行telnet [部署机器ip地址] 9001
|
/developtools/profiler/host/ohosprofiler/src/main/resources/ohosresource/ |
D | init.sql | 22 ip varchar(100) , field
|
/developtools/hdc_standard/src/host/ |
D | client.cpp | 156 char ip[BUF_SIZE_TINY] = ""; in ExecuteCommand() local 158 int ret = Base::ConnectKey2IPPort(channelHostPort.c_str(), ip, &port); in ExecuteCommand() 166 ConnectServerForClient(ip, port); in ExecuteCommand() 184 int HdcClient::ConnectServerForClient(const char *ip, uint16_t port) in ConnectServerForClient() argument 189 WRITE_LOG(LOG_DEBUG, "Try to connect %s:%d", ip, port); in ConnectServerForClient() 191 uv_ip6_addr(ip, port, &dest); in ConnectServerForClient()
|
D | host_tcp.cpp | 125 char ip[BUF_SIZE_TINY] = ""; in ConnectDaemon() local 127 if (Base::ConnectKey2IPPort(connectKey.c_str(), ip, &port) < 0) { in ConnectDaemon() 138 uv_ip4_addr(ip, port, &dest); in ConnectDaemon()
|
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
D | register_test.cpp | 176 size_t ip = RegisterGetIP(); variable 177 registers[ip] = 0x1234; 179 EXPECT_EQ(RegisterGetValue(value, registers, ip, sizeof(registers)),
|
/developtools/hiperf/test/unittest/common/native/ |
D | register_test.cpp | 169 size_t ip = RegisterGetIP(buildArchType); variable 170 registers[ip] = 0x1234; 172 EXPECT_EQ(RegisterGetValue(value, registers, ip, sizeof(registers)),
|
/developtools/profiler/protos/types/plugins/ftrace_data/ |
D | ftrace.proto | 23 uint64 ip = 1; field 64 uint64 ip = 1; field 95 uint64 ip = 1; field
|
/developtools/profiler/host/smartperf/trace_streamer/src/protos/types/plugins/ftrace_data/ |
D | ftrace.proto | 23 uint64 ip = 1; field 64 uint64 ip = 1; field 95 uint64 ip = 1; field
|
/developtools/profiler/device/plugins/ftrace_plugin/tools/trace_converter/event_formatters/ |
D | ftrace_ftrace_event_formatter.cpp | 27 sout << " ip=" << msg.ip(); in __anon8c6c278b0302() 98 sout << " ip=" << msg.ip(); in __anon8c6c278b0d02() 153 sout << " ip=" << msg.ip(); in __anon8c6c278b1502()
|