Lines Matching refs:sysEvent
299 auto sysEvent = std::static_pointer_cast<SysEvent>(event); in JudgmentRateLimiting() local
300 long pid = sysEvent->GetPid(); in JudgmentRateLimiting()
317 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()
355 auto sysEvent = std::static_pointer_cast<SysEvent>(event); in OnEvent() local
356 info.time = sysEvent->happenTime_; in OnEvent()
357 info.id = sysEvent->GetUid(); in OnEvent()
358 info.pid = sysEvent->GetPid(); in OnEvent()
360 info.module = sysEvent->GetEventValue("PACKAGE_NAME"); in OnEvent()
361 info.reason = sysEvent->GetEventValue("REASON"); in OnEvent()
362 auto summary = sysEvent->GetEventValue("SUMMARY"); in OnEvent()
364 info.sectionMap = sysEvent->GetKeyValuePairs(); in OnEvent()
371 .And(EventStore::EventCol::DOMAIN, EventStore::Op::EQ, sysEvent->domain_) in OnEvent()
372 .And(EventStore::EventCol::NAME, EventStore::Op::EQ, sysEvent->eventName_) in OnEvent()
380 if (record->GetSeq() == sysEvent->GetSeq()) { in OnEvent()
382 sysEvent->SetEventValue("FAULT_TYPE", std::to_string(info.faultLogType)); in OnEvent()
383 sysEvent->SetEventValue("MODULE", info.module); in OnEvent()
384 sysEvent->SetEventValue("LOG_PATH", info.logPath); in OnEvent()
385 sysEvent->SetEventValue("HAPPEN_TIME", sysEvent->happenTime_); in OnEvent()
386 sysEvent->SetEventValue("tz_", TimeUtil::GetTimeZone()); in OnEvent()
387 sysEvent->SetEventValue("VERSION", info.sectionMap["VERSION"]); in OnEvent()
391 … sysEvent->SetEventValue("PNAME", eventInfos["PNAME"].empty() ? "/" : eventInfos["PNAME"]); in OnEvent()
392 sysEvent->SetEventValue("FIRST_FRAME", eventInfos["FIRST_FRAME"].empty() ? "/" : in OnEvent()
394 … sysEvent->SetEventValue("SECOND_FRAME", eventInfos["SECOND_FRAME"].empty() ? "/" : in OnEvent()
396 sysEvent->SetEventValue("LAST_FRAME", eventInfos["LAST_FRAME"].empty() ? "/" : in OnEvent()
399 sysEvent->SetEventValue("FINGERPRINT", eventInfos["fingerPrint"]); in OnEvent()
400 auto retCode = EventStore::SysEventDao::Update(sysEvent, false); in OnEvent()