Home
last modified time | relevance | path

Searched refs:offset_ (Results 1 – 19 of 19) sorted by relevance

/developtools/hiperf/src/
Dperf_file_format.cpp44 offset_ = 0; in Init()
52 offset_ = 0; in Init()
83 if (offset_ + size > maxSize_) { in Write()
84 HLOGE("write out of size!!! offset_ %zu size %zu max %zu", offset_, size, maxSize_); in Write()
87 if (offset_ + max > maxSize_) { in Write()
88 HLOGE("write out of size!!! offset_ %zu size %zu max %zu", offset_, size, maxSize_); in Write()
91 std::copy(buf, buf + size, wBuffer_ + offset_); in Write()
93 offset_ += size; in Write()
95 offset_ += max; in Write()
137 offset_ += size; in Skip()
[all …]
/developtools/profiler/hiebpf/src/
Dhiebpf_data_file.cpp38 if (offset_ + size >= length_) { in Reserve()
48 buffer += offset_; in Reserve()
54 offset_ += size; in Reserve()
121 std::size_t curPos = mapPos_ + offset_; in RemapFile()
140 offset_ = remapOff; in RemapFile()
Dmaps_info.cpp50 … uint32_t fixLen = sizeof(map.start_) + sizeof(map.end_) + sizeof(map.offset_) + sizeof(map.pid_); in GetBinary()
97 mapItem.offset_ = std::stoull(mapTokens[MMAP_LINE_TOKEN_INDEX_OFFSET], in ParseMapsLine()
Delf_symbol_info.cpp37 symbolTable.textOffset_ = phdr->offset_; in GetSymbolTable()
Delf_file.cpp470 offset_ = u4Buf[index]; in ParsePrgHeader32()
495 offset_ = u8Buf[index]; in ParsePrgHeader64()
Dbpf_event_receiver.cpp204 mapItem->offset = item.offset_; in WriteEventMaps()
/developtools/profiler/hiebpf/test/unittest/
Dmaps_info_test.cpp72 mapsItem.offset_ = testNum;
79 sizeof(mapsItem.offset_) + sizeof(mapsItem.pid_) + sizeof(uint32_t);
92 ASSERT_EQ(mapsItem.offset_, *offset);
93 p += sizeof(mapsItem.offset_);
/developtools/profiler/hiebpf/include/
Dhiebpf_data_file.h55 std::size_t curPos = mapPos_ + offset_; in ~HiebpfDataFile()
125 offset_ += sizeof(header); in WriteFileHeader()
137 std::size_t offset_ {0};
Dmaps_info.h31 uint32_t offset_ = 0; member
Delf_file.h99 uint64_t offset_; variable
/developtools/smartperf_host/trace_streamer/src/filter/
Doffline_symbolization_filter.h39 offset_ = INVALID_UINT64; in FrameInfo()
46 uint64_t offset_; variable
Dnative_hook_filter.h35 offset_(INVALID_UINT64), in NativeHookFrameInfo()
49 offset_(offset), in NativeHookFrameInfo()
58 uint64_t offset_; variable
Doffline_symbolization_filter.cpp55 frameInfo->offset_ = elfSym->st_value != 0 ? elfSym->st_value : ip; in GetSymbolStartMaybeUpdateFrameInfo()
120 frameInfo->offset_ = ip; in CalcSymInfo()
Dnative_hook_filter.cpp627 … callChainId_, depth++, frameInfo->ip_, frameInfo->symbolIndex_, filePathIndex, frameInfo->offset_, in FillOfflineSymbolizationFrames()
947 frameInfo->offset_, frameInfo->symbolOffset_); in ParseFramesWithOutCallStackCompressedMode()
/developtools/profiler/device/plugins/native_daemon/include/
Dperf_event_record.h51 uint64_t offset_ = 0; member
/developtools/profiler/device/plugins/native_daemon/src/
Dvirtual_runtime.cpp114 callFrame.symbolOffset_ = symbol.offset_; in MakeCallFrame()
119 callFrame.offset_ = symbol.funcVaddr_; in MakeCallFrame()
121 callFrame.offset_ = callFrame.ip_; in MakeCallFrame()
Dstack_preprocess.cpp802 …std::string(callFrames[idx].filePath_).c_str(), callFrames[idx].offset_, callFrames[idx].symbolOff… in WriteFrames()
813 frame.set_offset(callFrame.offset_); in SetFrameInfo()
/developtools/hiperf/include/
Dperf_file_format.h147 size_t offset_ = 0; variable
/developtools/smartperf_host/trace_streamer/test/unittest/htrace/native_memory/
Dnative_hook_parser_test.cpp414 offset_(offset), in NativeHookFrameCache()
431 offset_ = nativeHookFrame.Offsets()[index]; in NativeHookFrameCache()
446 ret &= IsEqual(frameCache.GetOffset(), offset_, "Offset"); in operator ==()
472 return offset_; in GetOffset()
485 uint64_t offset_; member in SysTuning::TraceStreamer::NativeHookFrameCache