Home
last modified time | relevance | path

Searched refs:eventName_ (Results 1 – 25 of 41) sorted by relevance

12

/base/hiviewdfx/hiview/plugins/hicollie_collector/
Dplugin.cpp74 event.domain_.c_str(), event.eventName_.c_str()); in OnUnorderedEvent()
80 … if (event.eventName_ != STRINGID_SERVICE_TIMEOUT && event.eventName_ != STRINGID_SERVICE_BLOCK) { in OnUnorderedEvent()
81 HIVIEW_LOGE("invalid stringid=%{public}s.\n", event.eventName_.c_str()); in OnUnorderedEvent()
156 if (sysEvent.eventName_ == STRINGID_SERVICE_BLOCK) { in SaveToFile()
188 if (sysEvent.eventName_ == STRINGID_SERVICE_BLOCK) { in ProcessHiCollieEvent()
190 } else if (sysEvent.eventName_ == STRINGID_SERVICE_TIMEOUT) { in ProcessHiCollieEvent()
209 HiSysEvent::Write("RELIABILITY", sysEvent.eventName_ + "_REPORT", HiSysEvent::FAULT, in ProcessHiCollieEvent()
216 …"RELIABILITY", sysEvent.eventName_.c_str(), sysEvent.GetEventValue(EVENT_MSG).c_str(), desPath.c_s… in ProcessHiCollieEvent()
/base/hiviewdfx/hiview/test/plugins/examples/event_processor_example1/
Devent_processor_example1.cpp50 event->eventName_ == "testbb") { in CanProcessEvent()
55 event->eventName_ == "testcc") { in CanProcessEvent()
67 … GetHiviewContext()->SetHiviewProperty("EPE1_OnEvent", "received : " + event->eventName_, true); in OnEvent()
/base/hiviewdfx/hiview/test/plugins/examples/event_processor_example4/
Devent_processor_example4.cpp47 event->eventName_ == "testbb") { in CanProcessEvent()
84 … GetHiviewContext()->SetHiviewProperty("EPE4_OnEvent", "received : " + event->eventName_, true); in OnEvent()
108 GetHiviewContext()->SetHiviewProperty("EPE4_Listening", "received : " + msg.eventName_, true); in OnEventListeningCallback()
/base/hiviewdfx/hiview/base/event_report/event/include/
Dlogger_event.h30 : eventDomain_(domain), eventName_(name), eventType_(type) {} in LoggerEvent()
51 std::string eventName_; variable
/base/hiviewdfx/hiview/plugins/freeze_detector/
Dfreeze_detector_plugin.cpp123 .InitStringId(event.eventName_) in MakeWatchPoint()
135 event.domain_.c_str(), event.eventName_.c_str(), pid, uid, in MakeWatchPoint()
144 … event.eventId_, event.domain_.c_str(), event.eventName_.c_str(), event.jsonExtraInfo_.c_str()); in OnEventListeningCallback()
149 if (freezeCommon_->IsFreezeEvent(event.domain_, event.eventName_) == false) { in OnEventListeningCallback()
155 event.domain_.c_str(), event.eventName_.c_str()); in OnEventListeningCallback()
/base/hiviewdfx/hiview/plugins/eventlogger/test/unittest/common/
Devent_logger_plugin_test.cpp104 event->eventName_ = "SERVICE_BLOCK2";
122 event->eventName_ = "SERVICE_BLOCK";
141 event->eventName_ = "SERVICE_BLOCK";
173 event->eventName_ = "SERVICE_BLOCK";
199 event->eventName_ = "SERVICE_BLOCK";
225 event->eventName_ = "SERVICE_BLOCK";
251 event->eventName_ = "SERVICE_BLOCK";
/base/hiviewdfx/hiview/plugins/eventlogger/
Devent_logger.cpp53 if (eventLoggerConfig_.find(sysEvent->eventName_) == eventLoggerConfig_.end()) { in IsInterestedPipelineEvent()
64 sysEvent->eventName_.c_str(), pid, errno, strerror(errno)); in IsInterestedPipelineEvent()
68 EventLoggerConfig::EventLoggerConfigData& configOut = eventLoggerConfig_[sysEvent->eventName_]; in IsInterestedPipelineEvent()
69 sysEvent->eventName_ = configOut.name; in IsInterestedPipelineEvent()
97 sysEvent->eventName_.c_str(), pid, errno, strerror(errno)); in OnEvent()
115 …std::string idStr = event->eventName_.empty() ? std::to_string(event->eventId_) : event->eventName… in StartLogCollect()
161 headerStream << "EVENTNAME = " << event->eventName_ << std::endl; in WriteCommonHead()
199 std::string eventName = event->eventName_; in JudgmentRateLimiting()
238 .And(EventStore::EventCol::NAME, EventStore::Op::EQ, event->eventName_) in UpdateDB()
/base/hiviewdfx/hiview/base/include/
Devent.h44 eventName_(""), in Event()
70 eventName_(name), in Event()
150 std::string eventName_; variable
190 return eventName_; in GetEventName()
195 eventName_ = name; in SetEventName()
/base/hiviewdfx/hiview/test/plugins/examples/event_processor_example2/
Devent_processor_example2.cpp70 … GetHiviewContext()->SetHiviewProperty("EPE2_OnEvent", "received : " + event->eventName_, true); in OnEvent()
94 GetHiviewContext()->SetHiviewProperty("EPE2_Listening", "received : " + msg.eventName_, true); in OnUnorderedEvent()
/base/hiviewdfx/hiview/plugins/eventservice/
Dsys_event_service.cpp83 …omain is %{public}s, eventName is %{public}s.", event->domain_.c_str(), event->eventName_.c_str()); in Convert2SysEvent()
105 sysEventStat_->AccumulateEvent(sysEvent->domain_, sysEvent->eventName_, false); in OnEvent()
108 sysEventStat_->AccumulateEvent(sysEvent->domain_, sysEvent->eventName_); in OnEvent()
/base/hiviewdfx/hiview/base/test/unittest/common/
Devent_dispatcher_test.cpp31 testMsg_ = msg.eventName_; in OnEventListeningCallback()
52 testMsg_ = msg.eventName_; in OnUnorderedEvent()
132 event.eventName_ = TEST_EVENT_NAME; in DispatchEventTest()
140 event.eventName_ = TEST_EVENT_NAME; in DispatchInvalidEventTest()
/base/hiviewdfx/hiview/base/
Devent_dispatch_queue.cpp78 auto eventName = event.domain_ + "_" + event.eventName_; in ProcessUnorderedEvent()
100 HiviewEventReport::UpdatePluginStats(listener->name, event.eventName_, *timePtr); in ProcessUnorderedEvent()
/base/hiviewdfx/hiview/base/event_report/event/
Dplugin_event.cpp31 HiSysEvent::Write(this->eventDomain_, this->eventName_, this->eventType_, in Report()
Dplugin_fault_event.cpp31 HiSysEvent::Write(this->eventDomain_, this->eventName_, this->eventType_, in Report()
/base/hiviewdfx/hiview/test/plugins/examples/event_source_example/
Devent_source_example.cpp195 event->eventName_ = "testaa"; in CreateAndPublishEvent()
198 event->eventName_ = "testbb"; in CreateAndPublishEvent()
201 event->eventName_ = "testcc"; in CreateAndPublishEvent()
/base/hiviewdfx/hiview/plugins/usage_event_report/event/
Dapp_usage_event.cpp34 HiSysEvent::Write(this->eventDomain_, this->eventName_, this->eventType_, in Report()
Dsys_usage_event.cpp34 HiSysEvent::Write(this->eventDomain_, this->eventName_, this->eventType_, in Report()
/base/hiviewdfx/hiview/test/plugins/examples_bundle/bundle_plugin_example1/
Dbundle_plugin_example1.cpp46 GetHiviewContext()->SetHiviewProperty("BE1_OnEvent", "received : " + event->eventName_, true); in OnEvent()
/base/hiviewdfx/hiview/test/plugins/examples_bundle/bundle_plugin_example2/
Dbundle_plugin_example2.cpp47 GetHiviewContext()->SetHiviewProperty("BE2_OnEvent", "received : " + event->eventName_, true); in OnEvent()
/base/hiviewdfx/hiview/base/event_store/
Dsys_event_dao.cpp56 …HIVIEW_LOGD("insert db file %{public}s with %{public}s", dbFile.c_str(), sysEvent->eventName_.c_st… in Insert()
62 HIVIEW_LOGE("insert error for event %{public}s", sysEvent->eventName_.c_str()); in Insert()
83 HIVIEW_LOGE("update error for event %{public}s", sysEvent->eventName_.c_str()); in Update()
/base/hiviewdfx/hiview/test/plugins/examples/dynamic_load_plugin_example/
Ddynamic_load_plugin_example.cpp59 GetHiviewContext()->SetHiviewProperty("DPE_Listening", "received : " + msg.eventName_, true); in OnUnorderedEvent()
/base/hiviewdfx/hiview/plugins/faultlogger/service/
Dfaultlogger.cpp317 sysEvent->eventId_, sysEvent->eventName_.c_str(), eventPid.c_str(), interval); in JudgmentRateLimiting()
324 sysEvent->eventId_, sysEvent->eventName_.c_str(), eventPid.c_str(), interval); in JudgmentRateLimiting()
334 if (event->eventName_ != "PROCESS_EXIT" && in IsInterestedPipelineEvent()
335 event->eventName_ != "JS_ERROR") { in IsInterestedPipelineEvent()
348 if (event->eventName_ == "JS_ERROR") { in OnEvent()
372 .And(EventStore::EventCol::NAME, EventStore::Op::EQ, sysEvent->eventName_) in OnEvent()
/base/hiviewdfx/hiview/plugins/eventservice/store/
Dsys_event_db_mgr.cpp44 …LOGD("save sys event %{public}" PRId64 ", %{public}s", event->GetSeq(), event->eventName_.c_str()); in SaveToStore()
/base/hiviewdfx/hiview/test/plugins/examples/event_processor_example3/
Devent_processor_example3.cpp60 … GetHiviewContext()->SetHiviewProperty("EPE3_OnEvent", "received : " + event->eventName_, true); in OnEvent()
/base/hiviewdfx/hiview/test/plugins/examples_bundle/bundle_plugin_example3/
Dbundle_plugin_example3.cpp71 GetHiviewContext()->SetHiviewProperty("BE3_Listening", "received : " + msg.eventName_, true); in OnEventListeningCallback()

12