Home
last modified time | relevance | path

Searched refs:bytesView (Results 1 – 7 of 7) sorted by relevance

/developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/
Dhtrace_native_hook_parser.cpp36 bool HtraceNativeHookParser::ParseStackMap(const ProtoReader::BytesView& bytesView) in ParseStackMap() argument
41 stackMap->ParseFromArray(bytesView.Data(), bytesView.Size()); in ParseStackMap()
42 nativeHookFilter_->GetCommHookData().size += bytesView.Size(); in ParseStackMap()
45 ProtoReader::StackMap_Reader stackMapReader(bytesView); in ParseStackMap()
86 void HtraceNativeHookParser::ParseFileEvent(const ProtoReader::BytesView& bytesView) in ParseFileEvent() argument
91 filePathMap->ParseFromArray(bytesView.Data(), bytesView.Size()); in ParseFileEvent()
92 nativeHookFilter_->GetCommHookData().size += bytesView.Size(); in ParseFileEvent()
95 ProtoReader::FilePathMap_Reader filePathMapReader(bytesView); in ParseFileEvent()
100 void HtraceNativeHookParser::ParseSymbolEvent(const ProtoReader::BytesView& bytesView) in ParseSymbolEvent() argument
105 symbolMap->ParseFromArray(bytesView.Data(), bytesView.Size()); in ParseSymbolEvent()
[all …]
Dhtrace_native_hook_parser.h47 void ParseFileEvent(const ProtoReader::BytesView& bytesView);
48 void ParseSymbolEvent(const ProtoReader::BytesView& bytesView);
49 void ParseThreadEvent(const ProtoReader::BytesView& bytesView);
51 bool ParseStackMap(const ProtoReader::BytesView& bytesView);
/developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/htrace_event_parser/
Dhtrace_event_parser.cpp243 bool HtraceEventParser::BytesViewEventInfo(ProtoReader::BytesView& bytesView, in BytesViewEventInfo() argument
248 bytesView = bytesViewChange; in BytesViewEventInfo()
255 ProtoReader::BytesView& bytesView) in ConstructEventSet() argument
260 …judgment = BytesViewEventInfo(bytesView, event.task_rename_format(), eventInfo, TRACE_EVENT_TASK_R… in ConstructEventSet()
262 …judgment = BytesViewEventInfo(bytesView, event.task_newtask_format(), eventInfo, TRACE_EVENT_TASK_… in ConstructEventSet()
264 …judgment = BytesViewEventInfo(bytesView, event.wakeup_format(), eventInfo, TRACE_EVENT_SCHED_SWITC… in ConstructEventSet()
266 …judgment = BytesViewEventInfo(bytesView, event.sched_switch_format(), eventInfo, TRACE_EVENT_SCHED… in ConstructEventSet()
268 judgment = BytesViewEventInfo(bytesView, event.sched_blocked_reason_format(), eventInfo, in ConstructEventSet()
271 …judgment = BytesViewEventInfo(bytesView, event.wakeup_format(), eventInfo, TRACE_EVENT_SCHED_WAKEU… in ConstructEventSet()
273 …judgment = BytesViewEventInfo(bytesView, event.sched_wakeup_format(), eventInfo, TRACE_EVENT_SCHED… in ConstructEventSet()
[all …]
Dhtrace_event_parser.h70 bool BytesViewEventInfo(ProtoReader::BytesView& bytesView,
76 ProtoReader::BytesView& bytesView);
80 ProtoReader::BytesView& bytesView);
83 ProtoReader::BytesView& bytesView);
86 ProtoReader::BytesView& bytesView);
89 ProtoReader::BytesView& bytesView);
92 ProtoReader::BytesView& bytesView);
95 ProtoReader::BytesView& bytesView);
99 ProtoReader::BytesView& bytesView);
/developtools/smartperf_host/trace_streamer/src/proto_reader/include/
Dproto_reader_help.h30 BytesView(const BytesView& bytesView) in BytesView() argument
32 data_ = bytesView.data_; in BytesView()
33 size_ = bytesView.size_; in BytesView()
35 BytesView& operator=(const BytesView& bytesView)
37 data_ = bytesView.data_;
38 size_ = bytesView.size_;
/developtools/smartperf_host/trace_streamer/src/filter/
Dnative_hook_filter.h76 … void AppendFrameMaps(uint32_t ipid, uint32_t frameMapId, const ProtoReader::BytesView& bytesView);
82 void ParseTagEvent(const ProtoReader::BytesView& bytesView);
96 void ParseStatisticEvent(uint64_t timeStamp, const ProtoReader::BytesView& bytesView);
99 void ParseAllocEvent(uint64_t timeStamp, const ProtoReader::BytesView& bytesView);
100 void ParseFreeEvent(uint64_t timeStamp, const ProtoReader::BytesView& bytesView);
105 void ParseMmapEvent(uint64_t timeStamp, const ProtoReader::BytesView& bytesView);
110 void ParseMunmapEvent(uint64_t timeStamp, const ProtoReader::BytesView& bytesView);
Dnative_hook_filter.cpp86 …ilter::AppendFrameMaps(uint32_t ipid, uint32_t frameMapId, const ProtoReader::BytesView& bytesView) in AppendFrameMaps() argument
88 auto frames = std::make_shared<const ProtoReader::BytesView>(bytesView); in AppendFrameMaps()
188 … NativeHookFilter::ParseStatisticEvent(uint64_t timeStamp, const ProtoReader::BytesView& bytesView) in ParseStatisticEvent() argument
190 ProtoReader::RecordStatisticsEvent_Reader reader(bytesView); in ParseStatisticEvent()
222 void NativeHookFilter::ParseAllocEvent(uint64_t timeStamp, const ProtoReader::BytesView& bytesView) in ParseAllocEvent() argument
224 ProtoReader::AllocEvent_Reader allocEventReader(bytesView); in ParseAllocEvent()
303 void NativeHookFilter::ParseFreeEvent(uint64_t timeStamp, const ProtoReader::BytesView& bytesView) in ParseFreeEvent() argument
305 ProtoReader::FreeEvent_Reader freeEventReader(bytesView); in ParseFreeEvent()
369 void NativeHookFilter::ParseMmapEvent(uint64_t timeStamp, const ProtoReader::BytesView& bytesView) in ParseMmapEvent() argument
371 ProtoReader::MmapEvent_Reader mMapEventReader(bytesView); in ParseMmapEvent()
[all …]