Searched refs:eventId (Results 1 - 14 of 14) sorted by relevance
/developtools/profiler/device/plugins/ftrace_plugin/include/ |
H A D | sub_event_parser.h | 67 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 D | ftrace_parser.h | 130 uint32_t eventId = evId; in ParseDataRecord() local 131 auto* parseEventCtx = SubEventParser<E>::GetInstance().GetParseEventCtx(eventId); in ParseDataRecord()
|
H A D | ftrace_common_type.h | 155 uint32_t eventId = 0; member
|
/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/ |
H A D | sub_event_parser_test.cpp | 98 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 D | ftrace_processor.cpp | 81 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 D | ftrace_event_processor.h | 32 bool IsSupported(uint32_t eventId) const; 35 const std::string &GetEventNameById(uint32_t eventId);
|
H A D | cpu_detail_parser.h | 28 uint32_t eventId = INVALID_UINT32; member
|
H A D | ftrace_event_processor.cpp | 213 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 D | cpu_detail_parser.cpp | 262 const auto &eventName = FtraceEventProcessor::GetInstance().GetEventNameById(event.eventId); in DealEvent()
|
/developtools/smartperf_host/trace_streamer/src/filter/hi_sysevent_filter/ |
H A D | hi_sysevent_measure_filter.h | 55 std::string eventId = ""; member
|
H A D | hi_sysevent_measure_filter.cpp | 122 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 D | hisysevent_stdtype.h | 190 std::string eventId; member
|
H A D | hisysevent_stdtype.cpp | 193 eventIds_.emplace_back(hiSysEventAllEventDataRow.eventId); in AppendHiSysEventData()
|
/developtools/profiler/device/plugins/ftrace_plugin/src/ |
H A D | ftrace_parser.cpp | 152 format.eventId = static_cast<uint32_t>(atoi(idStr.c_str())); in ParseEventFormat()
|
Completed in 11 milliseconds