/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dwarf_op.cpp | 32 DFXLOGU("Eval: initStackValue=%{public}" PRIuPTR ", startPtr=%{public}" PRIuPTR "", initStackValue, startPtr);
in Eval() 58 DFXLOGU("DW_OP_addr");
in Decode() 65 DFXLOGU("DW_OP_deref");
in Decode() 69 DFXLOGU("DW_OP_const1u");
in Decode() 76 DFXLOGU("DW_OP_const1s");
in Decode() 83 DFXLOGU("DW_OP_const2u");
in Decode() 90 DFXLOGU("DW_OP_const2s");
in Decode() 97 DFXLOGU("DW_OP_const4u");
in Decode() 104 DFXLOGU("DW_OP_const4s");
in Decode() 111 DFXLOGU("DW_OP_const8 in Decode() [all...] |
H A D | dwarf_cfa_instructions.cpp | 64 DFXLOGU("rsState pcStart=%{public}" PRIx64 ", pcEnd=%{public}" PRIx64 "",
in Iterate() 80 DFXLOGU("DW_CFA_nop");
in DecodeDwCfa() 85 DFXLOGU("DW_CFA_set_loc: new offset=%{public}" PRIu64 "", static_cast<uint64_t>(pcOffset));
in DecodeDwCfa() 90 DFXLOGU("DW_CFA_advance_loc1: new offset=%{public}" PRIu64 "", static_cast<uint64_t>(pcOffset));
in DecodeDwCfa() 95 DFXLOGU("DW_CFA_advance_loc2: %{public}" PRIu64 " to %{public}" PRIx64 "",
in DecodeDwCfa() 101 DFXLOGU("DW_CFA_advance_loc4: new offset=%{public}" PRIu64 "", static_cast<uint64_t>(pcOffset));
in DecodeDwCfa() 106 DFXLOGU("DW_CFA_offset_extended: reg=%{public}d", (int)reg);
in DecodeDwCfa() 116 DFXLOGU("DW_CFA_restore_extended: reg=%{public}d", (int)reg);
in DecodeDwCfa() 125 DFXLOGU("DW_CFA_undefined: reg=%{public}d", (int)reg);
in DecodeDwCfa() 137 DFXLOGU("DW_CFA_same_valu in DecodeDwCfa() [all...] |
H A D | arm_exidx.cpp | 65 DFXLOGU("Transform reg: %{public}d", reg); in Transform() 79 DFXLOGU("AddUpVsp imm: %{public}d", imm); in AddUpVsp() 109 DFXLOGU("rsState cfaReg: %{public}d, cfaRegOffset: %{public}d", rsState_->cfaReg, rsState_->cfaRegOffset); in FlushInstr() 120 DFXLOGU("rsState reg: %{public}d, locs[%{public}d].val: %{public}d", reg, i, rsState_->locs[i].val); in FlushInstr() 139 DFXLOGU("%{public}s", logStr.c_str()); in LogRawData() 146 DFXLOGU("SearchEntry pc: %{public}p tableData: %{public}p, tableLen: %{public}u", in SearchEntry() 193 DFXLOGU("Exidx entryOffset: %{public}llx", (uint64_t)entryOffset); in ExtractEntryData() 210 DFXLOGU("This is a CANT UNWIND entry, data: %{public}x.", data); in ExtractEntryData() 219 DFXLOGU("This is a compact table entry, data: %{public}x.", data); in ExtractEntryData() 247 DFXLOGU("Exid in ExtractEntryTab() [all...] |
H A D | dfx_instr_statistic.cpp | 46 DFXLOGU("type: %{public}u, val: %{public}" PRIx64 "", type, val); in AddInstrStatistic() 64 DFXLOGU("++++++Dump Instr Statistic for elf file: %{public}s", soName_.c_str()); in DumpInstrStatResult() 76 DFXLOGU("\t [%{public}d]: Type: %{public}u, Count: %{public}" PRIu64 "", __LINE__, in DumpInstrStatResult() 79 DFXLOGU("\t Value: %{public}" PRIx64 "", (uint64_t) stats->at(i).first); in DumpInstrStatResult() 84 DFXLOGU("\t [%{public}d]: Type: %{public}u, Count: %{public}" PRIu64 "", __LINE__, in DumpInstrStatResult() 91 DFXLOGU("------Dump Instr Statistic End."); in DumpInstrStatResult()
|
H A D | dwarf_section.cpp | 41 DFXLOGU("LinearSearchEntry tableData:%{public}p, tableLen: %{public}u", (void*)tableData, (uint32_t)fdeCount);
in LinearSearchEntry() 48 DFXLOGU("Fde entry addr: %{public}" PRIx64 "", (uint64_t)fdeAddr);
in LinearSearchEntry() 66 DFXLOGU("SearchEntry pc: %{public}p segbase:%{public}p, tableData:%{public}p, tableLen: %{public}u",
in SearchEntry() 111 DFXLOGU("Fde entry addr: %{public}" PRIx64 "", (uint64_t)entry);
in SearchEntry() 128 DFXLOGU("pc: %{public}p, FDE start: %{public}p, end: %{public}p",
in Step() 203 DFXLOGU("fdeAddr: %{public}" PRIx64 "", (uint64_t)fdeAddr);
in ParseFde() 241 DFXLOGU("pointerEncoding: %{public}02x", fdeInfo.cie.pointerEncoding);
in FillInFde() 262 DFXLOGU("FDE pcStart: %{public}p, pcEnd: %{public}p", (void*)(fdeInfo.pcStart), (void*)(fdeInfo.pcEnd));
in FillInFde() 268 DFXLOGU("cieAddr: %{public}" PRIx64 "", (uint64_t)cieAddr);
in ParseCie() 300 DFXLOGU("Ci in FillInCie() [all...] |
H A D | dfx_hap.cpp | 53 DFXLOGU("Failed to create ark js symbol extractor"); in ParseHapInfo() 124 DFXLOGU("name: %{public}s", name.c_str()); in ParseHapFileData() 135 DFXLOGU("Failed to get hap source map info: %{public}s", name.c_str()); in ParseHapFileData() 152 DFXLOGU("[%{public}d]: pid: %{public}d", __LINE__, pid); in ParseHapMemData()
|
H A D | dfx_elf.cpp | 107 DFXLOGU("elfSize: %{public}zu", elfSize);
in CreateFromHap() 122 DFXLOGU("file: %{public}s", file.c_str());
in DfxElf() 314 DFXLOGU("Elf loadBias: %{public}" PRIx64 "", (uint64_t)loadBias_);
in GetLoadBias() 324 DFXLOGU("mapStart: %{public}" PRIx64 ", mapOffset: %{public}" PRIx64 "",
in GetLoadBase() 327 DFXLOGU("Elf loadBase: %{public}" PRIx64 "", (uint64_t)loadBase_);
in GetLoadBase() 355 DFXLOGU("Elf startPc: %{public}" PRIx64 "", (uint64_t)startPc_);
in GetStartPc() 377 DFXLOGU("Elf endPc: %{public}" PRIx64 "", (uint64_t)endPc_);
in GetEndPc() 437 DFXLOGU("Elf buildId: %{public}s", buildId_.c_str());
in GetBuildId() 552 DFXLOGU("Get EmbeddedElf ElfSymbols, size: %{public}zu", symbols.size());
in GetElfSymbols() 562 DFXLOGU("GetElfSymbol in GetElfSymbols() [all...] |
H A D | dfx_accessors.cpp | 54 DFXLOGU("map had matched by ctx, map name: %{public}s", map->name.c_str()); in GetMapByPcAndCtx() 110 DFXLOGU("Failed to access addr"); in AccessMem() 142 DFXLOGU("FindUnwindTable elf is null"); in FindUnwindTable() 179 DFXLOGU("Read elf mmap pos: %{public}p", (void *)pos); in AccessMem() 207 DFXLOGU("errno: %{public}d", errno); in AccessMem() 236 DFXLOGU("FindUnwindTable had pc matched"); in FindUnwindTable() 243 DFXLOGU("FindUnwindTable elf is null"); in FindUnwindTable()
|
H A D | dfx_instructions.cpp | 96 DFXLOGU("Update cfa : %{public}" PRIx64 "", (uint64_t)cfa); in Apply() 102 DFXLOGU("Update reg[%{public}zu] : %{public}" PRIx64 "", reg, (uint64_t)regs[reg]); in Apply() 115 DFXLOGU("returnAddressRegister: %{public}d", (int)rsState.returnAddressRegister); in Apply()
|
H A D | unwinder.cpp | 559 DFXLOGU("[%{public}d]: stackBottom: %{public}" PRIx64 ", stackTop: %{public}" PRIx64 "", __LINE__, in UnwindLocalWithTid() 593 DFXLOGU("[%{public}d]: stackBottom: %{public}" PRIx64 ", stackTop: %{public}" PRIx64 "", __LINE__, in UnwindLocal() 756 DFXLOGU("frames size: %{public}zu, will be reset frames", frames_.size()); in Unwind() 790 DFXLOGU("Failed to update pc and sp, tid: %{public}d", uctx->pid); in Unwind() 792 DFXLOGU("Failed to update pc and sp"); in Unwind() 798 DFXLOGU("Last error code: %{public}d, addr: %{public}p", in Unwind() 800 DFXLOGU("Last frame size: %{public}zu, last frame pc: %{public}p", in Unwind() 817 DFXLOGU("pcs size: %{public}zu, will be reset pcs", pcs_.size()); in UnwindByFp() 844 DFXLOGU("+fp: %{public}lx, pc: %{public}lx", (uint64_t)fp, (uint64_t)pc); in FpStep() 858 DFXLOGU("Illega in FpStep() [all...] |
H A D | dfx_regs_x86_64.cpp | 103 DFXLOGU("[%{public}d]: data: %{public}llx", __LINE__, data); in StepIfSignalFrame() 116 DFXLOGU("data2: %{public}x", data2); in StepIfSignalFrame() 124 DFXLOGU("[%{public}d]: scAddr: %{public}llx", __LINE__, scAddr); in StepIfSignalFrame()
|
H A D | dfx_symbols.cpp | 110 DFXLOGU("nameStr: %{public}s", elfSymbol.nameStr.c_str()); in GetFuncNameAndOffsetByPc() 116 DFXLOGU("Symbol relPc: %{public}" PRIx64 ", funcName: %{public}s, funcOffset: %{public}" PRIx64 "", in GetFuncNameAndOffsetByPc()
|
H A D | dfx_mmap.cpp | 80 DFXLOGU("pos: %{public}zu, size: %{public}zu", ptr, size_); in Read()
|
H A D | dfx_map.cpp | 278 DFXLOGU("Current ark map(%{public}s) is not exec", name.c_str()); in IsArkExecutable() 281 DFXLOGU("Current ark map: %{public}s", name.c_str()); in IsArkExecutable() 352 DFXLOGU("GetElf name: %{public}s", name.c_str()); in GetElf()
|
H A D | dfx_maps.cpp | 62 DFXLOGU("Create maps(%{public}s) with not crash, will only parse exec map", path.c_str()); in Create() 117 DFXLOGU("Failed to parse map: %{public}s", mapBuf); in Parse() 299 DFXLOGU("Not mapped map for current addr."); in IsArkExecutedMap()
|
/base/hiviewdfx/faultloggerd/common/dfxlog/ |
H A D | dfx_log.h | 49 #define DFXLOGU(fmt, ...) \ macro 53 #define DFXLOGU(fmt, ...) \ macro 57 #define DFXLOGU(fmt, ...) macro 70 #define DFXLOGU(fmt, ...) \ macro 73 #define DFXLOGU(fmt, ...) macro 85 #define DFXLOGU(fmt, ...) macro
|
/base/hiviewdfx/faultloggerd/test/benchmarktest/unwinder/ |
H A D | maps_benchmark.cpp | 40 DFXLOGU("%{public}s:: maps.size: %{public}zu", __func__, dfxMaps->GetMapsSize());
in BenchmarkMapsCreateAll() 54 DFXLOGU("%{public}s:: maps.size: %{public}zu", __func__, dfxMaps->GetMapsSize());
in BenchmarkMapsCreateOnlyExec() 70 DFXLOGU("%{public}s:: maps.size: %{public}zu", __func__, maps.size());
in BenchmarkMapsCreateMapIndex()
|
H A D | unwind_local_tid_benchmark.cpp | 93 DFXLOGU("wait thread");
in BenchmarkUnwinderLocalWithTid() 95 DFXLOGU("+++tid: %{public}d", tid.load());
in BenchmarkUnwinderLocalWithTid() 109 DFXLOGU("%{public}s, frames.size: %{public}zu", __func__, unwSize);
in BenchmarkUnwinderLocalWithTid() 116 DFXLOGU("---tid: %{public}d", tid.load());
in BenchmarkUnwinderLocalWithTid()
|
H A D | unwind_local_benchmark.cpp | 98 DFXLOGU("%{public}s frames.size: %{public}zu", __func__, unwSize);
in UnwinderLocal() 127 DFXLOGU("%{public}s frames.size: %{public}zu", __func__, unwSize);
in UnwinderLocalFp() 139 DFXLOGU(Unwinder::GetFramesStr(frames).c_str());
in UnwinderLocalFp() 150 DFXLOGU("%{public}s frames.size: %{public}zu", __func__, unwSize);
in FpUnwinderLocal() 162 DFXLOGU(Unwinder::GetFramesStr(frames).c_str());
in FpUnwinderLocal() 173 DFXLOGU("%{public}s frames.size: %{public}zu", __func__, unwSize);
in FpUnwinderLocalSafe() 185 DFXLOGU(Unwinder::GetFramesStr(frames).c_str());
in FpUnwinderLocalSafe() 193 DFXLOGU("++++++pid: %{public}d", getpid());
in Run() 199 DFXLOGU("------pid: %{public}d", getpid());
in Run()
|
H A D | unwind_remote_benchmark.cpp | 81 DFXLOGU("%{public}s frames.size: %{public}zu", __func__, frames.size());
in UnwinderRemote() 97 DFXLOGU("%{public}s frames.size: %{public}zu", __func__, frames.size());
in UnwinderRemoteFp() 135 DFXLOGU("pid: %{public}d", pid);
in Run() 157 DFXLOGU("Detach pid: %{public}d", pid);
in Run()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
H A D | dfx_extractor_utils.h | 71 DFXLOGU("[%{public}d]: Hap entry file: %{public}s, offset: 0x%{public}016" PRIx64 "", __LINE__, in GetHapAbcInfo() 75 DFXLOGU("Hap abc: %{public}s, size: %{public}zu", fileName.c_str(), abcDataSize); in GetHapAbcInfo() 105 DFXLOGU("[%{public}d]: Hap entry file: %{public}s, offset: 0x%{public}016" PRIx64 "", __LINE__, in GetHapSourceMapInfo() 109 DFXLOGU("Hap sourcemap: %{public}s, size: %{public}zu", fileName.c_str(), sourceMapSize); in GetHapSourceMapInfo() 130 DFXLOGU("Done load zip file %{public}s", file.c_str()); in Init()
|
/base/hiviewdfx/faultloggerd/test/benchmarktest/unwind/ |
H A D | unwind_remote_benchmark.cpp | 98 DFXLOGU("%{public}s pcs.size: %{public}zu", __func__, pcs.size());
in UnwindRemote() 117 DFXLOGU("pid: %{public}d", pid);
in Run() 129 DFXLOGU("Detach pid: %{public}d", pid);
in Run() 159 DFXLOGU("pid: %{public}d", pid);
in RunCache() 173 DFXLOGU("Detach pid: %{public}d", pid);
in RunCache()
|
H A D | unwind_local_benchmark.cpp | 78 DFXLOGU("%{public}s pcs.size: %{public}zu", __func__, pcs.size());
in UnwindLocal() 84 DFXLOGU("++++++pid: %{public}d", getpid());
in Run() 90 DFXLOGU("------pid: %{public}d", getpid());
in Run()
|
/base/hiviewdfx/faultloggerd/test/benchmarktest/unwindstack/ |
H A D | unwind_local_benchmark.cpp | 81 DFXLOGU("%{public}s frames.size: %{public}zu", __func__, unwSize);
in UnwindLocal() 85 DFXLOGU("%{public}s frames: %{public}s", __func__, str.c_str());
in UnwindLocal() 93 DFXLOGU("++++++pid: %{public}d", getpid());
in Run() 99 DFXLOGU("------pid: %{public}d", getpid());
in Run()
|
H A D | unwind_remote_benchmark.cpp | 114 DFXLOGU("%{public}s frames.size: %{public}zu", __func__, unwSize);
118 DFXLOGU("%{public}s frames: %{public}s", __func__, str.c_str());
137 DFXLOGU("pid: %{public}d", pid);
159 DFXLOGU("Detach pid: %{public}d", pid);
|