/base/hiviewdfx/hilog/frameworks/libhilog/ioctl/include/ |
H A D | log_ioctl.h | 50 int ReceiveMsgHeaer(MsgHeader& hdr);
79 MsgHeader hdr = { 0 };
in RequestMsgHead() local 80 ret = ReceiveMsgHeaer(hdr);
in RequestMsgHead() 84 if (hdr.cmd == static_cast<uint8_t>(IoctlCmd::RSP_ERROR)) {
in RequestMsgHead() 85 return hdr.err;
in RequestMsgHead() 87 if (hdr.cmd != static_cast<uint8_t>(rspCmd)) {
in RequestMsgHead() 90 if (hdr.len != sizeof(T2)) {
in RequestMsgHead()
|
/base/hiviewdfx/hilog/services/hilogd/include/ |
H A D | service_controller.h | 52 int GetMsgHeader(MsgHeader& hdr); 53 int GetRqst(const MsgHeader& hdr, char* rqst, int expectedLen); 57 void RequestHandler(const MsgHeader& hdr, std::function<void(const T& rqst)> handle); 104 void ServiceController::RequestHandler(const MsgHeader& hdr, std::function<void(const T& rqst)> handle) in RequestHandler() argument 106 std::vector<char> buffer(hdr.len, 0); in RequestHandler() 108 int ret = GetRqst(hdr, data, sizeof(T)); in RequestHandler()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_elf.cpp | 494 // Align hdr.n_descsz to next power multiple of 4. See man 5 elf.
in GetBuildId() 676 bool DfxElf::FillUnwindTableByEhhdrLocal(struct DwarfEhFrameHdr* hdr, struct UnwindTableInfo* uti)
in FillUnwindTableByEhhdrLocal() argument 678 if (hdr == nullptr) {
in FillUnwindTableByEhhdrLocal() 681 if (hdr->version != DW_EH_VERSION) {
in FillUnwindTableByEhhdrLocal() 682 DFXLOGE("[%{public}d]: version(%{public}d) error", __LINE__, hdr->version);
in FillUnwindTableByEhhdrLocal() 686 uintptr_t ptr = (uintptr_t)(&(hdr->ehFrame));
in FillUnwindTableByEhhdrLocal() 687 DFXLOGU("[%{public}d]: hdr: %{public}" PRIx64 ", ehFrame: %{public}" PRIx64 "", __LINE__,
in FillUnwindTableByEhhdrLocal() 688 (uint64_t)hdr, (uint64_t)ptr);
in FillUnwindTableByEhhdrLocal() 693 (uint64_t)uti->gp, hdr->ehFramePtrEnc, hdr in FillUnwindTableByEhhdrLocal() 725 FillUnwindTableByEhhdr(struct DwarfEhFrameHdr* hdr, uintptr_t shdrBase, struct UnwindTableInfo* uti) FillUnwindTableByEhhdr() argument 801 struct DwarfEhFrameHdr* hdr = nullptr; FindUnwindTableInfo() local 944 struct DwarfEhFrameHdr *hdr = nullptr; DlPhdrCb() local [all...] |
/base/hiviewdfx/hilog/services/hilogd/ |
H A D | service_controller.cpp | 96 int ServiceController::GetMsgHeader(MsgHeader& hdr) in GetMsgHeader() argument 102 int ret = m_communicationSocket->Read(reinterpret_cast<char *>(&hdr), sizeof(MsgHeader)); in GetMsgHeader() 110 int ServiceController::GetRqst(const MsgHeader& hdr, char* rqst, int expectedLen) in GetRqst() argument 112 if (hdr.len != expectedLen) { in GetRqst() 113 std::cout << "Invalid MsgHeader! hdr.len:" << hdr.len << ", expectedLen:" << expectedLen << endl; in GetRqst() 116 int ret = m_communicationSocket->Read(rqst, hdr.len); in GetRqst() 860 MsgHeader hdr; in CommunicationLoop() local 861 int ret = GetMsgHeader(hdr); in CommunicationLoop() 865 IoctlCmd cmd = static_cast<IoctlCmd>(hdr in CommunicationLoop() [all...] |
/base/hiviewdfx/hilog/frameworks/libhilog/socket/ |
H A D | socket_server.cpp | 78 int SocketServer::RecvMsg(struct msghdr *hdr, int flags) in RecvMsg() argument 80 return TEMP_FAILURE_RETRY(recvmsg(socketHandler, hdr, flags)); in RecvMsg()
|
/base/hiviewdfx/hilog/frameworks/libhilog/socket/include/ |
H A D | socket_server.h | 37 int RecvMsg(struct msghdr *hdr, int flags = 0);
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
H A D | dfx_elf.h | 90 static bool FillUnwindTableByEhhdrLocal(struct DwarfEhFrameHdr* hdr, struct UnwindTableInfo* uti);
92 bool FillUnwindTableByEhhdr(struct DwarfEhFrameHdr* hdr, uintptr_t shdrBase, struct UnwindTableInfo* uti);
|
/base/hiviewdfx/hilog/frameworks/libhilog/ioctl/ |
H A D | log_ioctl.cpp | 55 int LogIoctl::ReceiveMsgHeaer(MsgHeader& hdr)
in ReceiveMsgHeaer() argument 57 int ret = socket.RecvMsg(reinterpret_cast<char *>(&hdr), sizeof(hdr));
in ReceiveMsgHeaer()
|
/base/hiviewdfx/hitrace/tools/hitrace_converter/ |
H A D | parse_functions.py | 343 hdr = parse_int_field(one_event, "hdr[12]", False)
347 parse_bytes_to_str(data[dev_name_pos:]), hdr, tsf)
755 PRINT_FMT_UFSHCD_UPIU = '"%s: %s: HDR:%s, CDB:%s", __get_str(str), __get_str(dev_name), __print_hex(REC->hdr, sizeof(REC->hdr)), __print_hex(REC->tsf, sizeof(REC->tsf))'
|