Lines Matching refs:processName
91 int32_t pid, const std::string& processName, const std::string& moduleName) const in SelectEventFromDB() argument
101 .And("PROCESS_NAME", EventStore::Op::EQ, processName) in SelectEventFromDB()
140 void HiCollieCollector::SaveToFile(SysEvent &sysEvent, int32_t pid, const std::string& processName, in SaveToFile() argument
147 desText << "MODULE:" << processName << "-" << moduleName << std::endl; in SaveToFile()
157 std::string log = SelectEventFromDB(pid, processName, moduleName); in SaveToFile()
182 std::string processName = StringUtil::TrimStr(sysEvent.GetEventValue("PROCESS_NAME")); in ProcessHiCollieEvent() local
183 if (processName == "") { in ProcessHiCollieEvent()
184 processName = std::to_string(pid); in ProcessHiCollieEvent()
189 desFile = "watchdog-" + processName + "-" + std::to_string(uid) + "-" + timestamp; in ProcessHiCollieEvent()
191 desFile = "timeout-" + processName + "-" + std::to_string(uid) + "-" + timestamp; in ProcessHiCollieEvent()
206 SaveToFile(sysEvent, pid, processName, path, desPath); in ProcessHiCollieEvent()
214 ReportSysFreezeIfNeed(sysEvent, timestamp, processName, desPath); in ProcessHiCollieEvent()
219 bool HiCollieCollector::ShouldReportSysFreeze(const std::string& processName) in ShouldReportSysFreeze() argument
221 if ((processName.find("foundation") == std::string::npos) && in ShouldReportSysFreeze()
222 (processName.find("render_service") == std::string::npos)) { in ShouldReportSysFreeze()
229 …rtSysFreezeIfNeed(SysEvent &sysEvent, const std::string& timestamp, const std::string& processName, in ReportSysFreezeIfNeed() argument
232 if (!ShouldReportSysFreeze(processName)) { in ReportSysFreezeIfNeed()
240 std::string fingerPrint = Tbox::CalcFingerPrint(processName, 0, FP_BUFFER); in ReportSysFreezeIfNeed()
245 "MODULE", processName, in ReportSysFreezeIfNeed()