Home
last modified time | relevance | path

Searched refs:faultLogType (Results 1 - 24 of 24) sorted by relevance

/base/hiviewdfx/hiview/plugins/faultlogger/test/common/fuzztest/faultloggerclient_fuzzer/
H A Dfaultlogger_client_fuzzer.cpp29 int32_t faultLogType {0}; in FuzzInterfaceAddFaultLog()
30 int offsetTotalLength = sizeof(inner.time) + sizeof(inner.id) + sizeof(inner.pid) + sizeof(faultLogType) + in FuzzInterfaceAddFaultLog()
39 STREAM_TO_VALUEINFO(data, faultLogType); in FuzzInterfaceAddFaultLog()
40 inner.faultLogType = abs(faultLogType % 10); // 10 : get the absolute value of the last digit of the number in FuzzInterfaceAddFaultLog()
55 HiviewDFX::AddFaultLog(inner.time, inner.faultLogType, inner.module, inner.summary); in FuzzInterfaceAddFaultLog()
60 int32_t faultLogType; in FuzzInterfaceQuerySelfFaultLog() local
62 int offsetTotalLength = sizeof(faultLogType) + sizeof(count); in FuzzInterfaceQuerySelfFaultLog()
67 STREAM_TO_VALUEINFO(data, faultLogType); in FuzzInterfaceQuerySelfFaultLog()
68 faultLogType in FuzzInterfaceQuerySelfFaultLog()
[all...]
/base/hiviewdfx/hiview/plugins/faultlogger/service/
H A Dfaultlog_manager.cpp47 LogStoreEx::LogFileFilter CreateLogFileFilter(time_t time, int32_t id, int32_t faultLogType, const std::string& module) in CreateLogFileFilter() argument
49 LogStoreEx::LogFileFilter filter = [time, id, faultLogType, module](const LogFile &file) { in CreateLogFileFilter()
59 if ((faultLogType != 0) && (info.faultLogType != faultLogType)) { in CreateLogFileFilter()
85 info.faultLogType = faultType; in CreateTempFaultLogFile()
118 FaultLogger::WriteFaultLogToFile(fd, info.faultLogType, info.sectionMap); in SaveFaultLogToFile()
124 FaultLogger::LimitCppCrashLog(fd, info.faultLogType); in SaveFaultLogToFile()
135 store_->ClearSameLogFilesIfNeeded(CreateLogFileFilter(0, info.id, info.faultLogType, info.module), in SaveFaultLogToFile()
H A Dfaultlogger.cpp299 info.summary = GetSummaryFromSectionMap(info.faultLogType, info.sectionMap); in AddPublicInfo()
474 info.faultLogType = FaultLogType::JS_CRASH; in FillFaultLogInfo()
476 info.faultLogType = FaultLogType::RUST_PANIC; in FillFaultLogInfo()
478 info.faultLogType = FaultLogType::ADDR_SANITIZER; in FillFaultLogInfo()
480 info.module = info.faultLogType == FaultLogType::JS_CRASH ? in FillFaultLogInfo()
492 sysEvent.SetEventValue("FAULT_TYPE", std::to_string(info.faultLogType)); in UpdateSysEvent()
513 if (info.faultLogType != FaultLogType::ADDR_SANITIZER) { in UpdateSysEvent()
533 if (info.faultLogType == FaultLogType::ADDR_SANITIZER && info.summary.empty()) { in OnEvent()
539 if (info.faultLogType == FaultLogType::JS_CRASH) { in OnEvent()
542 if (info.faultLogType in OnEvent()
[all...]
H A Dfaultlog_database.cpp64 info.faultLogType = std::atoi(sysEvent->GetEventValue("FAULT_TYPE").c_str()); in ParseFaultLogInfoFromJson()
78 if (info.faultLogType == FaultLogType::SYS_FREEZE) { in SaveFaultLogInfo()
92 GetFaultNameByType(info.faultLogType, false), in SaveFaultLogInfo()
94 "FAULT_TYPE", std::to_string(info.faultLogType), in SaveFaultLogInfo()
H A Dfaultlog_formatter.cpp294 auto parseList = GetLogParseList(info.faultLogType); in ParseFaultLogInfoFromFile()
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/impl/
H A Dfaultlogger_client.cpp95 infoOhos.faultLogType = info.faultLogType; in AddFaultLog()
118 infoOhos.faultLogType = logType; in AddFaultLog()
152 "FAULT_TYPE", std::to_string(info.faultLogType), in ReportCppCrashEvent()
H A Dfaultlog_query_result_impl.cpp63 ret->SetFaultType(info->faultLogType); in GetNext()
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/
H A Dfaultlog_query_result_ohos.cpp40 ret->faultLogType = info->faultLogType; in GetNext()
H A Dfaultlogger_service_ohos.cpp130 outInfo.faultLogType = info.faultLogType; in AddFaultLog()
/base/hiviewdfx/hiview/plugins/faultlogger/common/
H A Dlog_analyzer.cpp41 auto eventType = GetFaultNameByType(info.faultLogType, false); in GetFingerRawString()
51 auto eventType = GetFaultNameByType(info.faultLogType, false); in AnalysisFaultlog()
H A Dfaultlog_util.cpp85 if (info.faultLogType == FaultLogType::ADDR_SANITIZER) { in GetFaultLogName()
100 ret.append(GetFaultNameByType(info.faultLogType, true)); in GetFaultLogName()
140 info.faultLogType = GetLogTypeByName(splitStr[0]); // 0 : index of log type in ExtractInfoFromFileName()
157 info.faultLogType = GetLogTypeByName(splitStr[0]); // 0 : index of log type in ExtractInfoFromTempFile()
H A Dfaultlog_info.h29 int32_t faultLogType {0};
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cj/
H A Dfaultlogger_ffi.h31 int32_t faultLogType = 0; member
H A Dfaultlogger_ffi.cpp125 retValue[i].faultLogType = infoItem.type; in FfiFaultLoggerQuery()
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/include/
H A Dfaultlogger_client_msg.h32 int32_t faultLogType{0};
/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Dfaultlogger_client_msg.h32 int32_t faultLogType{0};
H A Dcppcrash_reporter.cpp107 info.faultLogType = 2; // 2 : CPP_CRASH_TYPE in ReportToHiview()
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/fuzztest/faultloggerservice_fuzzer/
H A Dfaultlogger_service_fuzzer.cpp146 int32_t faultLogType {0}; in FuzzServiceInterfaceAddFaultLog()
147 int offsetTotalLength = sizeof(info.time) + sizeof(info.pid) + sizeof(info.uid) + sizeof(faultLogType) + in FuzzServiceInterfaceAddFaultLog()
156 STREAM_TO_VALUEINFO(data, faultLogType); in FuzzServiceInterfaceAddFaultLog()
157 info.faultLogType = abs(faultLogType % 10); // 10 : get the absolute value of the last digit of the number in FuzzServiceInterfaceAddFaultLog()
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/include/
H A Dfaultlog_info_ohos.h32 int32_t faultLogType {0};
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/unittest/
H A Dfaultlogger_unittest.cpp375 info.faultLogType = 2; // 2 : CPP_CRASH in GenCppCrashLogTestCommon()
458 info.faultLogType = -1; in HWTEST_F()
461 info.faultLogType = 8; // 8 : 8 is bigger than FaultLogType::ADDR_SANITIZER in HWTEST_F()
464 info.faultLogType = FaultLogType::CPP_CRASH; in HWTEST_F()
488 info.faultLogType = 1; in HWTEST_F()
514 info.faultLogType = 1; in HWTEST_F()
541 info.faultLogType = 2; in HWTEST_F()
564 info.faultLogType = 3; in HWTEST_F()
679 info.faultLogType = 2; in HWTEST_F()
756 .faultLogType in HWTEST_F()
797 getTargetFileName(int32_t faultLogType, int64_t time) getTargetFileName() argument
[all...]
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/src/
H A Dfaultlog_info_ohos.cpp26 !parcel.WriteInt32(pid) || !parcel.WriteInt32(faultLogType)) { in Marshalling()
85 if (!parcel.ReadInt32(ret->faultLogType)) { in Unmarshalling()
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/
H A Dfaultlogger_client_test.cpp49 info.faultLogType = type; in CreateFaultLogInfo()
/base/hiviewdfx/hiview/plugins/freeze_detector/
H A Dvendor.cpp137 info.faultLogType = (type == APPFREEZE) ? FaultLogType::APP_FREEZE : ((type == SYSFREEZE) ? in SendFaultLog()
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/
H A Ddfx_processdump_test.cpp413 info.faultLogType = 2; // 2 : CPP_CRASH_TYPE in HWTEST_F()

Completed in 15 milliseconds