/developtools/profiler/hiebpf/src/ |
D | kernel_symbol_info.cpp | 41 uint32_t strTabLen, in GetBinary() argument 49 + symTabLen + strTabLen; in GetBinary() 59 *(reinterpret_cast<uint32_t *>(p)) = strTabLen; in GetBinary() 92 uint32_t strTabLen = 0; in GetSymbolData() local 102 strTabLen += prevSymbol.name_.size() + 1; in GetSymbolData() 109 strTabLen += prevSymbol.name_.size() + 1; in GetSymbolData() 116 GetBinary(symbolItems, vaddrStart, vaddrEnd, strTabLen, buf); in GetSymbolData()
|
D | bpf_event_receiver.cpp | 237 sym->strTabLen = symbolInfo.strTable_.size(); in WriteSymbolInfo() 244 if (memcpy_s(tmp + pos, size - pos, symbolInfo.strTable_.data(), sym->strTabLen) != EOK) { in WriteSymbolInfo() 248 pos += sym->strTabLen; in WriteSymbolInfo()
|
/developtools/profiler/hiebpf/test/unittest/ |
D | kernel_symbol_info_test.cpp | 53 uint32_t strTabLen = *(reinterpret_cast<uint32_t *>(p)); variable 58 ASSERT_EQ(size, headSize + symTabLen + strTabLen); 75 ASSERT_GE(strTabLen, symbolNameOffset + name.size() + 1);
|
/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/ |
D | ebpf_data_reader.cpp | 164 …if (size < sizeof(ElfEventFixedHeader) + elfAddr->strTabLen + elfAddr->symTabLen + elfAddr->fileNa… in UpdateElfAddrAndStValueToSymAddrMap() 169 auto symTabHeadAddr = reinterpret_cast<const uint8_t*>(elfAddr + 1) + elfAddr->strTabLen; in UpdateElfAddrAndStValueToSymAddrMap() 178 if (size < sizeof(KernelSymbolInfoHeader) + elfAddr->symTabLen + elfAddr->strTabLen) { in ReadKernelSymAddrMap() 180 elfAddr->strTabLen); in ReadKernelSymAddrMap() 202 …if ((elfAddr->fileNameLen > size - sizeof(ElfEventFixedHeader) - elfAddr->strTabLen - elfAddr->sym… in UpdateElfPathIndexToElfAddrMap() 210 … elfAddr->strTabLen + elfAddr->symTabLen)); in UpdateElfPathIndexToElfAddrMap() 217 …_->GetEbpfElf()->AppendNewData(elfId_, elfAddr->textVaddr, elfAddr->textOffset, elfAddr->strTabLen, in UpdateElfPathIndexToElfAddrMap() 237 …if (size < sizeof(ElfEventFixedHeader) + elfAddr->strTabLen + elfAddr->symTabLen + elfAddr->fileNa… in UpdateEbpfElfSymbolTable() 244 …terpret_cast<const Elf32_Sym*>(reinterpret_cast<const uint8_t*>(elfAddr + 1) + elfAddr->strTabLen), in UpdateEbpfElfSymbolTable() 248 …terpret_cast<const Elf64_Sym*>(reinterpret_cast<const uint8_t*>(elfAddr + 1) + elfAddr->strTabLen), in UpdateEbpfElfSymbolTable()
|
D | ebpf_stdtype.h | 66 uint32_t strTabLen = 0; member 141 uint32_t strTabLen = 0; member
|
D | ebpf_base.cpp | 94 if (symbolStart > elfHeaderAddr->strTabLen) { in GetSymbolNameIndexFromSymVaddr() 95 … TS_LOGE("symbolStart = %u, elfHeaderAddr->strTabLen = %u", symbolStart, elfHeaderAddr->strTabLen); in GetSymbolNameIndexFromSymVaddr()
|
/developtools/profiler/host/smartperf/trace_streamer/src/parser/ebpf_parser/ |
D | ebpf_data_reader.cpp | 163 …if (size < sizeof(ElfEventFixedHeader) + elfAddr->strTabLen + elfAddr->symTabLen + elfAddr->fileNa… in UpdateElfAddrAndStValueToSymAddrMap() 168 auto symTabHeadAddr = reinterpret_cast<const uint8_t*>(elfAddr + 1) + elfAddr->strTabLen; in UpdateElfAddrAndStValueToSymAddrMap() 177 if (size < sizeof(KernelSymbolInfoHeader) + elfAddr->symTabLen + elfAddr->strTabLen) { in ReadKernelSymAddrMap() 179 elfAddr->strTabLen); in ReadKernelSymAddrMap() 201 …if ((elfAddr->fileNameLen > size - sizeof(ElfEventFixedHeader) - elfAddr->strTabLen - elfAddr->sym… in UpdateElfPathIndexToElfAddrMap() 209 … elfAddr->strTabLen + elfAddr->symTabLen)); in UpdateElfPathIndexToElfAddrMap() 216 …_->GetEbpfElf()->AppendNewData(elfId_, elfAddr->textVaddr, elfAddr->textOffset, elfAddr->strTabLen, in UpdateElfPathIndexToElfAddrMap() 236 …if (size < sizeof(ElfEventFixedHeader) + elfAddr->strTabLen + elfAddr->symTabLen + elfAddr->fileNa… in UpdateEbpfElfSymbolTable() 243 …terpret_cast<const Elf32_Sym*>(reinterpret_cast<const uint8_t*>(elfAddr + 1) + elfAddr->strTabLen), in UpdateEbpfElfSymbolTable() 247 …terpret_cast<const Elf64_Sym*>(reinterpret_cast<const uint8_t*>(elfAddr + 1) + elfAddr->strTabLen), in UpdateEbpfElfSymbolTable()
|
D | ebpf_stdtype.h | 66 uint32_t strTabLen = 0; member 141 uint32_t strTabLen = 0; member
|
D | ebpf_base.cpp | 94 if (symbolStart > elfHeaderAddr->strTabLen) { in GetSymbolNameIndexFromSymVaddr() 95 … TS_LOGE("symbolStart = %u, elfHeaderAddr->strTabLen = %u", symbolStart, elfHeaderAddr->strTabLen); in GetSymbolNameIndexFromSymVaddr()
|
/developtools/profiler/hiebpf/include/ |
D | kernel_symbol_info.h | 47 uint32_t strTabLen,
|
D | bpf_event_receiver.h | 121 uint32_t strTabLen = 0; member
|
/developtools/profiler/device/plugins/hiebpf_plugin/tools/src/ |
D | ebpf_converter.cpp | 242 info.strTab = new char[info.strTabLen + 1]; in SymbolInfoParsing() 243 if (memset_s(info.strTab, info.strTabLen + 1, 0, info.strTabLen + 1) != EOK) { in SymbolInfoParsing() 247 if (info.strTabLen > 0) { in SymbolInfoParsing() 252 CHK(Read(reinterpret_cast<void*>(info.strTab), info.strTabLen)); in SymbolInfoParsing() 282 << " strTabLen: 0x" << std::hex << info.strTabLen << std::dec <<'\n' in SymbolInfoParsing()
|
/developtools/profiler/device/plugins/hiebpf_plugin/tools/include/ |
D | ebpf_std_type.h | 42 uint32_t strTabLen = 0; member
|
/developtools/profiler/host/smartperf/trace_streamer/src/trace_data/ |
D | trace_stdtype.cpp | 1673 uint32_t strTabLen, in AppendNewData() argument 1682 strTabLens_.emplace_back(strTabLen); in AppendNewData()
|
D | trace_stdtype.h | 1473 uint32_t strTabLen,
|
/developtools/smartperf_host/trace_streamer/src/trace_data/ |
D | trace_stdtype.cpp | 1680 uint32_t strTabLen, in AppendNewData() argument 1689 strTabLens_.emplace_back(strTabLen); in AppendNewData()
|
D | trace_stdtype.h | 1478 uint32_t strTabLen,
|