/base/hiviewdfx/hiview/plugins/faultlogger/test/common/fuzztest/faultloggerclient_fuzzer/ |
H A D | faultlogger_client_fuzzer.cpp | 29 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 D | faultlog_manager.cpp | 47 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 D | faultlogger.cpp | 299 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 D | faultlog_database.cpp | 64 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 D | faultlog_formatter.cpp | 294 auto parseList = GetLogParseList(info.faultLogType); in ParseFaultLogInfoFromFile()
|
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/impl/ |
H A D | faultlogger_client.cpp | 95 infoOhos.faultLogType = info.faultLogType; in AddFaultLog() 118 infoOhos.faultLogType = logType; in AddFaultLog() 152 "FAULT_TYPE", std::to_string(info.faultLogType), in ReportCppCrashEvent()
|
H A D | faultlog_query_result_impl.cpp | 63 ret->SetFaultType(info->faultLogType); in GetNext()
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/ |
H A D | faultlog_query_result_ohos.cpp | 40 ret->faultLogType = info->faultLogType; in GetNext()
|
H A D | faultlogger_service_ohos.cpp | 130 outInfo.faultLogType = info.faultLogType; in AddFaultLog()
|
/base/hiviewdfx/hiview/plugins/faultlogger/common/ |
H A D | log_analyzer.cpp | 41 auto eventType = GetFaultNameByType(info.faultLogType, false);
in GetFingerRawString() 51 auto eventType = GetFaultNameByType(info.faultLogType, false);
in AnalysisFaultlog()
|
H A D | faultlog_util.cpp | 85 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 D | faultlog_info.h | 29 int32_t faultLogType {0};
|
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cj/ |
H A D | faultlogger_ffi.h | 31 int32_t faultLogType = 0; member
|
H A D | faultlogger_ffi.cpp | 125 retValue[i].faultLogType = infoItem.type; in FfiFaultLoggerQuery()
|
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/include/ |
H A D | faultlogger_client_msg.h | 32 int32_t faultLogType{0};
|
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | faultlogger_client_msg.h | 32 int32_t faultLogType{0};
|
H A D | cppcrash_reporter.cpp | 107 info.faultLogType = 2; // 2 : CPP_CRASH_TYPE in ReportToHiview()
|
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/fuzztest/faultloggerservice_fuzzer/ |
H A D | faultlogger_service_fuzzer.cpp | 146 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 D | faultlog_info_ohos.h | 32 int32_t faultLogType {0};
|
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/unittest/ |
H A D | faultlogger_unittest.cpp | 375 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 D | faultlog_info_ohos.cpp | 26 !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 D | faultlogger_client_test.cpp | 49 info.faultLogType = type; in CreateFaultLogInfo()
|
/base/hiviewdfx/hiview/plugins/freeze_detector/ |
H A D | vendor.cpp | 137 info.faultLogType = (type == APPFREEZE) ? FaultLogType::APP_FREEZE : ((type == SYSFREEZE) ? in SendFaultLog()
|
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/ |
H A D | dfx_processdump_test.cpp | 413 info.faultLogType = 2; // 2 : CPP_CRASH_TYPE in HWTEST_F()
|