Home
last modified time | relevance | path

Searched refs:eventId (Results 1 - 14 of 14) sorted by relevance

/developtools/profiler/device/plugins/ftrace_plugin/include/
H A Dsub_event_parser.h67 idToParseCtx_[format.eventId] = it->second; in SetupEvent()
71 schedSwitchEventID = format.eventId; in SetupEvent()
74 schedWakingEventID = format.eventId; in SetupEvent()
76 idToFunctions_[format.eventId] = &idToParseCtx_[format.eventId]; in SetupEvent()
81 inline ParseEventCtx* GetParseEventCtx(uint32_t eventId) in GetParseEventCtx() argument
83 if (eventId == schedSwitchEventID) { in GetParseEventCtx()
85 } else if (eventId == schedWakingEventID) { in GetParseEventCtx()
89 auto it = idToFunctions_.find(eventId); in GetParseEventCtx()
H A Dftrace_parser.h130 uint32_t eventId = evId; in ParseDataRecord() local
131 auto* parseEventCtx = SubEventParser<E>::GetInstance().GetParseEventCtx(eventId); in ParseDataRecord()
H A Dftrace_common_type.h155 uint32_t eventId = 0; member
/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/
H A Dsub_event_parser_test.cpp98 EXPECT_TRUE(nullptr == SubEventParser::GetInstance().GetParseEventCtx(format.eventId)); in HWTEST_F()
100 EXPECT_TRUE(nullptr != SubEventParser::GetInstance().GetParseEventCtx(format.eventId)); in HWTEST_F()
117 EXPECT_TRUE(nullptr == SubEventParser::GetInstance().GetParseEventCtx(format.eventId)); in HWTEST_F()
119 EXPECT_TRUE(nullptr != SubEventParser::GetInstance().GetParseEventCtx(format.eventId)); in HWTEST_F()
135 EXPECT_EQ(format.eventId, SCHED_SWITCH_EVENT_ID); in HWTEST_F()
159 auto* ctx = SubEventParser::GetInstance().GetParseEventCtx(format.eventId); in HWTEST_F()
/developtools/smartperf_host/trace_streamer/src/parser/rawtrace_parser/
H A Dftrace_processor.cpp81 eventFormatDict_[format.eventId] = format; in SetupEvent()
143 format.eventId = static_cast<uint32_t>(atoi(idStr.c_str())); in HandleEventFormat()
154 if (format.eventId >= HM_EVENT_ID_OFFSET) { in HandleEventFormat()
569 uint16_t eventId = 0; in HandleDataRecord() local
570 TS_CHECK_TRUE(ReadInfo(&curPos_, eventEnd, &eventId, sizeof(eventId)), false, "read event ID failed!"); in HandleDataRecord()
573 if (!GetEventFormatById(eventId, format)) { in HandleDataRecord()
574 TS_LOGD("event with id %u we not interested!", eventId); in HandleDataRecord()
578 TS_LOGD("HandleDataRecord: eventId = %u, name = %s", eventId, forma in HandleDataRecord()
669 auto eventId = header->commonType; HmProcessPageTraceDataEvents() local
[all...]
H A Dftrace_event_processor.h32 bool IsSupported(uint32_t eventId) const;
35 const std::string &GetEventNameById(uint32_t eventId);
H A Dcpu_detail_parser.h28 uint32_t eventId = INVALID_UINT32; member
H A Dftrace_event_processor.cpp213 bool FtraceEventProcessor::IsSupported(uint32_t eventId) const in IsSupported()
215 return eventIdToFunctions_.count(eventId); in IsSupported()
225 auto iter = eventIdToFunctions_.find(format.eventId); in HandleEvent()
235 eventIdToFunctions_[format.eventId] = it->second; in SetupEvent()
236 eventIdToNames_[format.eventId] = format.eventName; in SetupEvent()
239 const std::string &FtraceEventProcessor::GetEventNameById(uint32_t eventId) in GetEventNameById() argument
241 auto iter = eventIdToNames_.find(eventId); in GetEventNameById()
445 if (format.eventId < HM_EVENT_ID_OFFSET) { in TracingMarkWriteOrPrintFormat()
H A Dcpu_detail_parser.cpp262 const auto &eventName = FtraceEventProcessor::GetInstance().GetEventNameById(event.eventId); in DealEvent()
/developtools/smartperf_host/trace_streamer/src/filter/hi_sysevent_filter/
H A Dhi_sysevent_measure_filter.h55 std::string eventId = ""; member
H A Dhi_sysevent_measure_filter.cpp122 jsMessage.eventId = item.value(); in FillJsMessage()
157 jsMessage.eventId, jsMessage.seq, jsMessage.info, jsMessage.content.dump()}; in UpdataAllHiSysEvent()
/developtools/smartperf_host/trace_streamer/src/trace_data/trace_stdtype/hisysevent/
H A Dhisysevent_stdtype.h190 std::string eventId; member
H A Dhisysevent_stdtype.cpp193 eventIds_.emplace_back(hiSysEventAllEventDataRow.eventId); in AppendHiSysEventData()
/developtools/profiler/device/plugins/ftrace_plugin/src/
H A Dftrace_parser.cpp152 format.eventId = static_cast<uint32_t>(atoi(idStr.c_str())); in ParseEventFormat()

Completed in 11 milliseconds