Home
last modified time | relevance | path

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

/developtools/profiler/host/smartperf/trace_streamer/src/parser/ebpf_parser/
Debpf_data_reader.cpp26 ebpfDataHeader_(reinterpret_cast<EbpfDataHeader*>(startAddr_)), in EbpfDataReader()
38 startAddr_ = buffer_.get(); in InitEbpfData()
53 ebpfDataHeader_ = reinterpret_cast<EbpfDataHeader*>(startAddr_); in InitEbpfHeader()
66 startAddr_ += EbpfDataHeader::EBPF_DATA_HEADER_SIZE; in InitEbpfHeader()
74 EbpfTypeAndLength* dataTitle = reinterpret_cast<EbpfTypeAndLength*>(startAddr_); in ReadEbpfData()
75 startAddr_ += EBPF_TITLE_SIZE; in ReadEbpfData()
89 ret = ReadItemEventMaps(startAddr_, dataTitle->length); in ReadEbpfData()
93 ret = ReadItemSymbolInfo(startAddr_, dataTitle->length); in ReadEbpfData()
97 ret = ReadItemEventFs(startAddr_, dataTitle->length); in ReadEbpfData()
101 ret = ReadItemEventPagedMemory(startAddr_, dataTitle->length); in ReadEbpfData()
[all …]
Debpf_data_reader.h76 uint8_t* startAddr_ = nullptr; variable
/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/
Debpf_data_reader.cpp39 startAddr_ = buffer_.get(); in InitEbpfData()
54 ebpfDataHeader_ = reinterpret_cast<EbpfDataHeader*>(startAddr_); in InitEbpfHeader()
67 startAddr_ += EbpfDataHeader::EBPF_DATA_HEADER_SIZE; in InitEbpfHeader()
75 EbpfTypeAndLength* dataTitle = reinterpret_cast<EbpfTypeAndLength*>(startAddr_); in ReadEbpfData()
76 startAddr_ += EBPF_TITLE_SIZE; in ReadEbpfData()
90 ret = ReadItemEventMaps(startAddr_, dataTitle->length); in ReadEbpfData()
94 ret = ReadItemSymbolInfo(startAddr_, dataTitle->length); in ReadEbpfData()
98 ret = ReadItemEventFs(startAddr_, dataTitle->length); in ReadEbpfData()
102 ret = ReadItemEventPagedMemory(startAddr_, dataTitle->length); in ReadEbpfData()
106 ret = ReadItemEventBIO(startAddr_, dataTitle->length); in ReadEbpfData()
[all …]
Debpf_data_reader.h76 uint8_t* startAddr_ = nullptr; variable
/developtools/smartperf_host/trace_streamer/src/proto_reader/
Dproto_reader.cpp22 : startAddr_(buffer), in ProtoReaderBase()
23 endAddr_(startAddr_ + length), in ProtoReaderBase()
24 currentReadAddr_(startAddr_), in ProtoReaderBase()
173 currentReadAddr_ = startAddr_; in FindDataArea()
196 const uint8_t* cur = startAddr_; in ParseAllDataAreas()
197 ParseDataAreaResult result = {ABORT, startAddr_, DataArea{}}; in ParseAllDataAreas()
/developtools/profiler/host/smartperf/trace_streamer/src/proto_reader/
Dproto_reader.cpp22 : startAddr_(buffer), in ProtoReaderBase()
23 endAddr_(startAddr_ + length), in ProtoReaderBase()
24 currentReadAddr_(startAddr_), in ProtoReaderBase()
173 currentReadAddr_ = startAddr_; in FindDataArea()
196 const uint8_t* cur = startAddr_; in ParseAllDataAreas()
197 ParseDataAreaResult result = {ABORT, startAddr_, DataArea{}}; in ParseAllDataAreas()
/developtools/profiler/host/smartperf/trace_streamer/src/proto_reader/include/
Dproto_reader.h191 …ProtoReaderBase() : startAddr_(0), endAddr_(0), dataAreas_(nullptr), dataAreasCount_(0), size_(0),… in ProtoReaderBase()
195 return startAddr_; in GetStartAddr()
203 currentReadAddr_ = startAddr_; in ResetCurrentAddr()
213 return static_cast<size_t>(currentReadAddr_ - startAddr_); in GetCurrentOffset()
254 const uint8_t* const startAddr_; variable
/developtools/smartperf_host/trace_streamer/src/proto_reader/include/
Dproto_reader.h191 …ProtoReaderBase() : startAddr_(0), endAddr_(0), dataAreas_(nullptr), dataAreasCount_(0), size_(0),… in ProtoReaderBase()
195 return startAddr_; in GetStartAddr()
203 currentReadAddr_ = startAddr_; in ResetCurrentAddr()
213 return static_cast<size_t>(currentReadAddr_ - startAddr_); in GetCurrentOffset()
254 const uint8_t* const startAddr_; variable