Home
last modified time | relevance | path

Searched refs:strTabLen (Results 1 – 17 of 17) sorted by relevance

/developtools/profiler/hiebpf/src/
Dkernel_symbol_info.cpp41 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()
Dbpf_event_receiver.cpp237 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/
Dkernel_symbol_info_test.cpp53 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/
Debpf_data_reader.cpp164 …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()
Debpf_stdtype.h66 uint32_t strTabLen = 0; member
141 uint32_t strTabLen = 0; member
Debpf_base.cpp94 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/
Debpf_data_reader.cpp163 …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()
Debpf_stdtype.h66 uint32_t strTabLen = 0; member
141 uint32_t strTabLen = 0; member
Debpf_base.cpp94 if (symbolStart > elfHeaderAddr->strTabLen) { in GetSymbolNameIndexFromSymVaddr()
95 … TS_LOGE("symbolStart = %u, elfHeaderAddr->strTabLen = %u", symbolStart, elfHeaderAddr->strTabLen); in GetSymbolNameIndexFromSymVaddr()
/developtools/profiler/hiebpf/include/
Dkernel_symbol_info.h47 uint32_t strTabLen,
Dbpf_event_receiver.h121 uint32_t strTabLen = 0; member
/developtools/profiler/device/plugins/hiebpf_plugin/tools/src/
Debpf_converter.cpp242 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/
Debpf_std_type.h42 uint32_t strTabLen = 0; member
/developtools/profiler/host/smartperf/trace_streamer/src/trace_data/
Dtrace_stdtype.cpp1673 uint32_t strTabLen, in AppendNewData() argument
1682 strTabLens_.emplace_back(strTabLen); in AppendNewData()
Dtrace_stdtype.h1473 uint32_t strTabLen,
/developtools/smartperf_host/trace_streamer/src/trace_data/
Dtrace_stdtype.cpp1680 uint32_t strTabLen, in AppendNewData() argument
1689 strTabLens_.emplace_back(strTabLen); in AppendNewData()
Dtrace_stdtype.h1478 uint32_t strTabLen,