Home
last modified time | relevance | path

Searched refs:symTabLen (Results 1 – 8 of 8) sorted by relevance

/developtools/profiler/hiebpf/test/unittest/
Dkernel_symbol_info_test.cpp51 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/
Debpf_data_reader.cpp158 …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()
Debpf_data_structure.h71 uint32_t symTabLen = 0; member
144 uint32_t symTabLen = 0; member
/developtools/profiler/hiebpf/src/
Dkernel_symbol_info.cpp45 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()
Dbpf_event_receiver.cpp238 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/
Debpf_converter.cpp256 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/
Debpf_std_type.h43 uint32_t symTabLen = 0; member
/developtools/profiler/hiebpf/include/
Dbpf_event_receiver.h122 uint32_t symTabLen = 0; member