Lines Matching defs:eventInfos
30 std::map<std::string, std::string>& eventInfos)
33 info.reason.compare("SERVICE_TIMEOUT") == 0) && !eventInfos["TIME_OUT"].empty()) {
34 eventInfos["LAST_FRAME"] = eventInfos["TIME_OUT"];
37 if (info.reason.compare("SERVICE_BLOCK") == 0 && !eventInfos["QUEUE_NAME"].empty()) {
38 eventInfos["LAST_FRAME"] = eventInfos["QUEUE_NAME"];
43 eventInfos["FIRST_FRAME"] + eventInfos["SECOND_FRAME"] + eventInfos["LAST_FRAME"] +
44 ((eventType == "JS_ERROR") ? eventInfos["SUBREASON"] : "");
47 bool AnalysisFaultlog(const FaultLogInfo& info, std::map<std::string, std::string>& eventInfos)
58 eventInfos = SmartParser::Analysis(logPath, SMART_PARSER_PATH, eventType);
62 if (eventInfos.empty()) {
63 eventInfos.insert(std::make_pair("fingerPrint", Tbox::CalcFingerPrint(info.module + info.reason +
67 Tbox::FilterTrace(eventInfos, eventType);
69 GetFingerRawString(fingerRawString, info, eventInfos);
70 eventInfos["fingerPrint"] = Tbox::CalcFingerPrint(fingerRawString, 0, FP_BUFFER);
72 if (eventType == "APP_FREEZE" && eventInfos["LAST_FRAME"].empty()) {
73 if (!eventInfos["TRACER_PID"].empty()) {
75 if (sscanf_s(eventInfos["TRACER_PID"].c_str(), "%d", &pid) == 1 && pid > 0) {
76 eventInfos["LAST_FRAME"] += ("(Tracer Process Name:" + CommonUtils::GetProcNameByPid(pid) + ")");
79 if (!eventInfos["DUMPCATCH_RESULT"].empty()) {
80 eventInfos["LAST_FRAME"] += ("(" + eventInfos["DUMPCATCH_RESULT"] + ")");