Home
last modified time | relevance | path

Searched refs:symTabLen (Results 1 – 14 of 14) 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.cpp164 …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 …]
Debpf_stdtype.h67 uint32_t symTabLen = 0; member
140 uint32_t symTabLen = 0; member
/developtools/profiler/host/smartperf/trace_streamer/src/parser/ebpf_parser/
Debpf_data_reader.cpp163 …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 …]
Debpf_stdtype.h67 uint32_t symTabLen = 0; member
140 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.cpp254 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/
Debpf_std_type.h43 uint32_t symTabLen = 0; member
/developtools/profiler/hiebpf/include/
Dbpf_event_receiver.h122 uint32_t symTabLen = 0; member
/developtools/profiler/host/smartperf/trace_streamer/src/trace_data/
Dtrace_stdtype.cpp1674 uint32_t symTabLen, in AppendNewData() argument
1683 symTabLens_.emplace_back(symTabLen); in AppendNewData()
Dtrace_stdtype.h1474 uint32_t symTabLen,
/developtools/smartperf_host/trace_streamer/src/trace_data/
Dtrace_stdtype.cpp1681 uint32_t symTabLen, in AppendNewData() argument
1690 symTabLens_.emplace_back(symTabLen); in AppendNewData()
Dtrace_stdtype.h1479 uint32_t symTabLen,