Home
last modified time | relevance | path

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

/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/native_hook_parser/
Dpbreader_native_hook_parser.cpp36 bool PbreaderNativeHookParser::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 PbreaderNativeHookParser::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 PbreaderNativeHookParser::ParseSymbolEvent(const ProtoReader::BytesView &bytesView) in ParseSymbolEvent() argument
105 symbolMap->ParseFromArray(bytesView.Data(), bytesView.Size()); in ParseSymbolEvent()
[all …]
Dpbreader_native_hook_parser.h51 void ParseFileEvent(const ProtoReader::BytesView &bytesView);
52 void ParseSymbolEvent(const ProtoReader::BytesView &bytesView);
53 void ParseThreadEvent(const ProtoReader::BytesView &bytesView);
55 bool ParseStackMap(const ProtoReader::BytesView &bytesView);
/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/htrace_parser/
Dhtrace_event_parser.cpp265 bool HtraceEventParser::BytesViewEventInfo(ProtoReader::BytesView &bytesView, in BytesViewEventInfo() argument
270 bytesView = bytesViewChange; in BytesViewEventInfo()
277 ProtoReader::BytesView &bytesView) in ConstructEventSet() argument
282 …judgment = BytesViewEventInfo(bytesView, event.task_rename_format(), eventInfo, TRACE_EVENT_TASK_R… in ConstructEventSet()
284 …judgment = BytesViewEventInfo(bytesView, event.task_newtask_format(), eventInfo, TRACE_EVENT_TASK_… in ConstructEventSet()
286 …judgment = BytesViewEventInfo(bytesView, event.wakeup_format(), eventInfo, TRACE_EVENT_SCHED_SWITC… in ConstructEventSet()
288 …judgment = BytesViewEventInfo(bytesView, event.sched_switch_format(), eventInfo, TRACE_EVENT_SCHED… in ConstructEventSet()
290 judgment = BytesViewEventInfo(bytesView, event.sched_blocked_reason_format(), eventInfo, in ConstructEventSet()
293 …judgment = BytesViewEventInfo(bytesView, event.wakeup_format(), eventInfo, TRACE_EVENT_SCHED_WAKEU… in ConstructEventSet()
295 …judgment = BytesViewEventInfo(bytesView, event.sched_wakeup_format(), eventInfo, TRACE_EVENT_SCHED… in ConstructEventSet()
[all …]
Dhtrace_event_parser.h69 bool BytesViewEventInfo(ProtoReader::BytesView &bytesView,
75 ProtoReader::BytesView &bytesView);
79 ProtoReader::BytesView &bytesView);
82 ProtoReader::BytesView &bytesView);
85 ProtoReader::BytesView &bytesView);
88 ProtoReader::BytesView &bytesView);
91 ProtoReader::BytesView &bytesView);
94 ProtoReader::BytesView &bytesView);
98 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/hook_filter/
Dnative_hook_filter.h73 … void AppendFrameMaps(uint32_t ipid, uint32_t frameMapId, const ProtoReader::BytesView &bytesView);
79 void ParseTagEvent(const ProtoReader::BytesView &bytesView);
100 void ParseStatisticEvent(uint64_t timeStamp, const ProtoReader::BytesView &bytesView);
103 void ParseAllocEvent(uint64_t timeStamp, const ProtoReader::BytesView &bytesView);
104 void ParseFreeEvent(uint64_t timeStamp, const ProtoReader::BytesView &bytesView);
109 void ParseMmapEvent(uint64_t timeStamp, const ProtoReader::BytesView &bytesView);
114 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()
198 … NativeHookFilter::ParseStatisticEvent(uint64_t timeStamp, const ProtoReader::BytesView &bytesView) in ParseStatisticEvent() argument
200 ProtoReader::RecordStatisticsEvent_Reader reader(bytesView); in ParseStatisticEvent()
239 void NativeHookFilter::ParseAllocEvent(uint64_t timeStamp, const ProtoReader::BytesView &bytesView) in ParseAllocEvent() argument
241 ProtoReader::AllocEvent_Reader allocEventReader(bytesView); in ParseAllocEvent()
328 void NativeHookFilter::ParseFreeEvent(uint64_t timeStamp, const ProtoReader::BytesView &bytesView) in ParseFreeEvent() argument
330 ProtoReader::FreeEvent_Reader freeEventReader(bytesView); in ParseFreeEvent()
395 void NativeHookFilter::ParseMmapEvent(uint64_t timeStamp, const ProtoReader::BytesView &bytesView) in ParseMmapEvent() argument
397 ProtoReader::MmapEvent_Reader mMapEventReader(bytesView); in ParseMmapEvent()
[all …]