Searched refs:symTabLen (Results 1 – 8 of 8) sorted by relevance
/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 | 158 …if (size < sizeof(ElfEventFixedHeader) + elfAddr->strTabLen + elfAddr->symTabLen + elfAddr->fileNa… in UpdateElfAddrAndStValueToSymAddrMap() 165 …AddSymbolsToTable(reinterpret_cast<const Elf32_Sym *>(symTabHeadAddr), elfAddr->symTabLen / symEnt… in UpdateElfAddrAndStValueToSymAddrMap() 167 …AddSymbolsToTable(reinterpret_cast<const Elf64_Sym *>(symTabHeadAddr), elfAddr->symTabLen / symEnt… in UpdateElfAddrAndStValueToSymAddrMap() 172 if (size < sizeof(KernelSymbolInfoHeader) + elfAddr->symTabLen + elfAddr->strTabLen) { in ReadKernelSymAddrMap() 173 …addr size error!!!, size is:%u and the symTabLen is:%u, strTabLen is:%u", size, elfAddr->symTabLen, in ReadKernelSymAddrMap() 177 auto symTabLen = elfAddr->symTabLen; in ReadKernelSymAddrMap() local 178 auto sysItemSize = symTabLen / sizeof(KernelSymItem); in ReadKernelSymAddrMap() 196 …ddr->fileNameLen > size - sizeof(ElfEventFixedHeader) - elfAddr->strTabLen - elfAddr->symTabLen) || in UpdateElfPathIndexToElfAddrMap() 204 reinterpret_cast<const uint8_t *>(elfAddr + 1) + elfAddr->strTabLen + elfAddr->symTabLen)); in UpdateElfPathIndexToElfAddrMap()
|
D | ebpf_data_structure.h | 71 uint32_t symTabLen = 0; member 144 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 | 256 info.symTab = new char[info.symTabLen + 1]; in SymbolInfoParsing() 257 if (memset_s(info.symTab, info.symTabLen + 1, 0, info.symTabLen + 1) != EOK) { in SymbolInfoParsing() 261 if (info.symTabLen > 0) { in SymbolInfoParsing() 266 CHK(Read(reinterpret_cast<void*>(info.symTab), info.symTabLen)); in SymbolInfoParsing() 286 << " symTabLen: 0x" << std::hex << info.symTabLen << std::dec << '\n' in SymbolInfoParsing() 433 while (count < symItem->second.symTabLen) { in GetSymbolInfo() 452 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
|