/developtools/profiler/hiebpf/test/unittest/ |
D | kernel_symbol_info_test.cpp | 51 uint32_t symTabLen = *(reinterpret_cast<uint32_t *>(p)); variable 58 ASSERT_EQ(size, headSize + symTabLen + strTabLen); 60 char *pStrTab = reinterpret_cast<char *>(p) + symTabLen; 62 while (symTabLen > symItemSize) { 77 symTabLen -= symItemSize;
|
/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() 171 …AddSymbolsToTable(reinterpret_cast<const Elf32_Sym*>(symTabHeadAddr), elfAddr->symTabLen / symEntL… in UpdateElfAddrAndStValueToSymAddrMap() 173 …AddSymbolsToTable(reinterpret_cast<const Elf64_Sym*>(symTabHeadAddr), elfAddr->symTabLen / symEntL… in UpdateElfAddrAndStValueToSymAddrMap() 178 if (size < sizeof(KernelSymbolInfoHeader) + elfAddr->symTabLen + elfAddr->strTabLen) { in ReadKernelSymAddrMap() 179 …addr size error!!!, size is:%u and the symTabLen is:%u, strTabLen is:%u", size, elfAddr->symTabLen, in ReadKernelSymAddrMap() 183 auto symTabLen = elfAddr->symTabLen; in ReadKernelSymAddrMap() local 184 auto sysItemSize = symTabLen / sizeof(KernelSymItem); in ReadKernelSymAddrMap() 202 …ddr->fileNameLen > size - sizeof(ElfEventFixedHeader) - elfAddr->strTabLen - elfAddr->symTabLen) || in UpdateElfPathIndexToElfAddrMap() 210 … elfAddr->strTabLen + elfAddr->symTabLen)); in UpdateElfPathIndexToElfAddrMap() 218 … elfAddr->symTabLen, elfAddr->fileNameLen, elfAddr->symEntLen, in UpdateElfPathIndexToElfAddrMap() [all …]
|
D | ebpf_stdtype.h | 67 uint32_t symTabLen = 0; member 140 uint32_t symTabLen = 0; member
|
/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() 170 …AddSymbolsToTable(reinterpret_cast<const Elf32_Sym*>(symTabHeadAddr), elfAddr->symTabLen / symEntL… in UpdateElfAddrAndStValueToSymAddrMap() 172 …AddSymbolsToTable(reinterpret_cast<const Elf64_Sym*>(symTabHeadAddr), elfAddr->symTabLen / symEntL… in UpdateElfAddrAndStValueToSymAddrMap() 177 if (size < sizeof(KernelSymbolInfoHeader) + elfAddr->symTabLen + elfAddr->strTabLen) { in ReadKernelSymAddrMap() 178 …addr size error!!!, size is:%u and the symTabLen is:%u, strTabLen is:%u", size, elfAddr->symTabLen, in ReadKernelSymAddrMap() 182 auto symTabLen = elfAddr->symTabLen; in ReadKernelSymAddrMap() local 183 auto sysItemSize = symTabLen / sizeof(KernelSymItem); in ReadKernelSymAddrMap() 201 …ddr->fileNameLen > size - sizeof(ElfEventFixedHeader) - elfAddr->strTabLen - elfAddr->symTabLen) || in UpdateElfPathIndexToElfAddrMap() 209 … elfAddr->strTabLen + elfAddr->symTabLen)); in UpdateElfPathIndexToElfAddrMap() 217 … elfAddr->symTabLen, elfAddr->fileNameLen, elfAddr->symEntLen, in UpdateElfPathIndexToElfAddrMap() [all …]
|
D | ebpf_stdtype.h | 67 uint32_t symTabLen = 0; member 140 uint32_t symTabLen = 0; member
|
/developtools/profiler/hiebpf/src/ |
D | kernel_symbol_info.cpp | 45 uint32_t symTabLen = (sizeof(uint64_t) + sizeof(uint32_t) + sizeof(uint32_t)) * in GetBinary() local 49 + symTabLen + strTabLen; in GetBinary() 57 *(reinterpret_cast<uint32_t *>(p)) = symTabLen; in GetBinary() 63 uint8_t *pStrTab = p + symTabLen; in GetBinary()
|
D | bpf_event_receiver.cpp | 238 sym->symTabLen = symbolInfo.symTable_.size(); in WriteSymbolInfo() 249 if (memcpy_s(tmp + pos, size - pos, symbolInfo.symTable_.data(), sym->symTabLen) != EOK) { in WriteSymbolInfo() 253 pos += sym->symTabLen; in WriteSymbolInfo()
|
/developtools/profiler/device/plugins/hiebpf_plugin/tools/src/ |
D | ebpf_converter.cpp | 254 info.symTab = new char[info.symTabLen + 1]; in SymbolInfoParsing() 255 if (memset_s(info.symTab, info.symTabLen + 1, 0, info.symTabLen + 1) != EOK) { in SymbolInfoParsing() 259 if (info.symTabLen > 0) { in SymbolInfoParsing() 264 CHK(Read(reinterpret_cast<void*>(info.symTab), info.symTabLen)); in SymbolInfoParsing() 283 << " symTabLen: 0x" << std::hex << info.symTabLen << std::dec << '\n' in SymbolInfoParsing() 429 while (count < symItem->second.symTabLen) { in GetSymbolInfo() 448 while (count < symItem->second.symTabLen) { in GetSymbolInfo()
|
/developtools/profiler/device/plugins/hiebpf_plugin/tools/include/ |
D | ebpf_std_type.h | 43 uint32_t symTabLen = 0; member
|
/developtools/profiler/hiebpf/include/ |
D | bpf_event_receiver.h | 122 uint32_t symTabLen = 0; member
|
/developtools/profiler/host/smartperf/trace_streamer/src/trace_data/ |
D | trace_stdtype.cpp | 1674 uint32_t symTabLen, in AppendNewData() argument 1683 symTabLens_.emplace_back(symTabLen); in AppendNewData()
|
D | trace_stdtype.h | 1474 uint32_t symTabLen,
|
/developtools/smartperf_host/trace_streamer/src/trace_data/ |
D | trace_stdtype.cpp | 1681 uint32_t symTabLen, in AppendNewData() argument 1690 symTabLens_.emplace_back(symTabLen); in AppendNewData()
|
D | trace_stdtype.h | 1479 uint32_t symTabLen,
|