/developtools/profiler/device/plugins/native_daemon/src/ |
H A D | call_stack.cpp | 360 unw_word_t sp = 0;
in UnwindStep() local 362 unw_get_reg(&c, UNW_REG_SP, &sp);
in UnwindStep() 379 HLOGV("unwind:%zu: ip 0x%" UNW_WORD_PFLAG " sp 0x%" UNW_WORD_PFLAG "", callStack.size(),
in UnwindStep() 380 ip, sp);
in UnwindStep() 381 if (callStack.back().ip_ == ip && callStack.back().sp_ == sp) {
in UnwindStep() 385 callStack.emplace_back(ip, sp);
in UnwindStep() 394 bool CallStack::GetIpSP(uint64_t &ip, uint64_t &sp, const u64 *regs, size_t regNum) const
in GetIpSP() argument 397 UNWIND_CHECK_TRUE(RegisterGetSPValue(sp, arch_, regs, regNum), false, "unable get sp");
in GetIpSP() 459 uint64_t sp in UnwindCallStack() local [all...] |
/developtools/hiperf/src/ |
H A D | callstack.cpp | 385 unw_word_t sp; in UnwindStep() local 387 unw_get_reg(&c, UNW_REG_SP, &sp); in UnwindStep() 404 HLOGV("unwind:%zu: ip 0x%" UNW_WORD_PFLAG " sp 0x%" UNW_WORD_PFLAG "", callStack.size(), in UnwindStep() 405 ip, sp); in UnwindStep() 406 if (callStack.back().pc == ip && callStack.back().sp == sp) { in UnwindStep() 410 callStack.emplace_back(ip, sp); in UnwindStep() 419 bool CallStack::GetIpSP(uint64_t &ip, uint64_t &sp, const u64 *regs, size_t regNum) const in GetIpSP() argument 422 CHECK_TRUE(!RegisterGetSPValue(sp, arch_, regs, regNum), false, 1, "unable get sp"); in GetIpSP() 487 uint64_t sp; UnwindCallStack() local [all...] |
/developtools/profiler/device/plugins/native_daemon/include/ |
H A D | perf_event_record.h | 59 CallFrame(uint64_t ip, uint64_t sp = 0, bool isJsFrame = false) : ip_(ip), sp_(sp), isJsFrame_(isJsFrame) {} in CallFrame() 76 return StringPrintf("ip: 0x%016llx sp: 0x%016llx", ip_, sp_); in ToString()
|
H A D | call_stack.h | 64 bool GetIpSP(uint64_t &ip, uint64_t &sp, const u64 *regs, size_t regNum) const;
111 static bool CheckAndStepArkFrame(const VirtualThread &thread, uintptr_t& pc, uintptr_t& fp, uintptr_t& sp);
|
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
H A D | register_test.cpp | 131 size_t sp = RegisterGetSP(buildArchType); in HWTEST_F() local 132 registers[sp] = 0x1234; in HWTEST_F() 134 EXPECT_EQ(RegisterGetValue(value, registers, sp, sizeof(registers)), in HWTEST_F()
|
/developtools/hiperf/test/unittest/common/native/ |
H A D | register_test.cpp | 131 size_t sp = RegisterGetSP(BUILD_ARCH_TYPE); in HWTEST_F() local 132 registers[sp] = 0x1234; in HWTEST_F() 134 EXPECT_EQ(RegisterGetValue(value, registers, sp, sizeof(registers)), in HWTEST_F()
|
/developtools/profiler/device/plugins/native_hook/test/ |
H A D | malloc_test.cpp | 196 std::string* sp = new std::string("hello world"); in NewString() local 197 printf("string sp = %s\n", sp->c_str()); in NewString() 198 delete sp; in NewString()
|
/developtools/profiler/host/smartperf/client/client_command/ |
H A D | smartperf_command.cpp | 173 OHOS::SmartPerf::StartUpDelay sp; in GetItemInfo() local 174 processId = sp.GetPidByPkg(pkgName); in GetItemInfo()
|
H A D | sp_utils.cpp | 169 void SPUtils::StrSplit(const std::string &content, const std::string &sp, std::vector<std::string> &out) in StrSplit() argument 173 size_t tEnd = content.find_first_of(sp, index); in StrSplit()
|
H A D | sp_task.cpp | 334 OHOS::SmartPerf::StartUpDelay sp; in AsyncGetDataMap() local 335 processId = sp.GetPidByPkg(curTaskInfo.packageName); in AsyncGetDataMap()
|
/developtools/hiperf/test/unittest/common/native/include/ |
H A D | callstack_test.h | 44 uint64_t sp = 0; member 83 UnwindStep:unwind:0: ip 0x45765e sp 0xb6ca1c68 84 UnwindStep:unwind:1: ip 0x45768a sp 0xb6ca1c78 85 UnwindStep:unwind:2: ip 0x4576ce sp 0xb6ca1c88 86 UnwindStep:unwind:3: ip 0x457712 sp 0xb6ca1c98 87 UnwindStep:unwind:4: ip 0x457756 sp 0xb6ca1ca8 88 UnwindStep:unwind:5: ip 0x45779a sp 0xb6ca1cb8 89 UnwindStep:unwind:6: ip 0x4577de sp 0xb6ca1cc8 90 UnwindStep:unwind:7: ip 0x457822 sp 0xb6ca1cd8 91 UnwindStep:unwind:8: ip 0x457866 sp [all...] |
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/include/ |
H A D | callstack_test.h | 80 UnwindStep:unwind:0: ip 0x45765e sp 0xb6ca1c68 81 UnwindStep:unwind:1: ip 0x45768a sp 0xb6ca1c78 82 UnwindStep:unwind:2: ip 0x4576ce sp 0xb6ca1c88 83 UnwindStep:unwind:3: ip 0x457712 sp 0xb6ca1c98 84 UnwindStep:unwind:4: ip 0x457756 sp 0xb6ca1ca8 85 UnwindStep:unwind:5: ip 0x45779a sp 0xb6ca1cb8 86 UnwindStep:unwind:6: ip 0x4577de sp 0xb6ca1cc8 87 UnwindStep:unwind:7: ip 0x457822 sp 0xb6ca1cd8 88 UnwindStep:unwind:8: ip 0x457866 sp 0xb6ca1ce8 89 UnwindStep:unwind:9: ip 0x4578aa sp 97 uint64_t sp = 0; global() member [all...] |
/developtools/profiler/host/smartperf/client/client_command/include/ |
H A D | sp_utils.h | 96 * @param sp 99 void StrSplit(const std::string &content, const std::string &sp, std::vector<std::string> &out);
|
H A D | sp_thread_socket.h | 318 OHOS::SmartPerf::StartUpDelay sp; in HandleNullMsg() local 319 processId = sp.GetPidByPkg(retCode); in HandleNullMsg()
|
/developtools/hiperf/include/ |
H A D | perf_event_record.h | 53 uint64_t sp_ = 0; // sp 61 CallFrame(uint64_t ip, uint64_t sp = 0) : ip_(ip), sp_(sp) {} in CallFrame() 78 return StringPrintf("ip: 0x%016llx sp: 0x%016llx", ip_, sp_); in ToString()
|
H A D | callstack.h | 80 bool GetIpSP(uint64_t &ip, uint64_t &sp, const u64 *regs, size_t regNum) const;
|
/developtools/smartperf_host/trace_streamer/test/unittest/pbreader_parser/native_memory/ |
H A D | native_hook_parser_test.cpp | 98 uint64_t sp; member 117 frame->set_sp(frameStruct.sp); in SetFrameInfo()
|
/developtools/profiler/hiebpf/include/ |
H A D | vmlinux.h | 799 long unsigned int sp; member 1197 __u64 sp; member 1207 u64 sp; member 14549 __u64 sp; member 15948 u32 sp; member 16150 u64 sp; member 45614 __u64 sp; member 50533 const char *sp; global() member 60362 uint16_t sp; global() member [all...] |