Home
last modified time | relevance | path

Searched refs:logFilePath (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Dprocess_dumper.cpp724 const std::string logFilePath = "/log/crash"; in CreateFileForCrash() local
727 if (access(logFilePath.c_str(), F_OK) != 0) { in CreateFileForCrash()
728 DFXLOG_ERROR("%s is not exist.", logFilePath.c_str()); in CreateFileForCrash()
732 ss << logFilePath << "/" << logFileType << "-" << pid << "-" << time; in CreateFileForCrash()
745 const std::string logFilePath = "/log/crash"; in RemoveFileIfNeed() local
747 OHOS::GetDirFiles(logFilePath, files); in RemoveFileIfNeed()
/ohos5.0/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/native_leak/
H A Dnative_leak_state.cpp374 string logFilePath = userMonitorInfo->GetLogFilePath(); in DumpStackInfo() local
375 auto fd = open(logFilePath.c_str(), O_CREAT | O_RDWR, HIPROFILER_LOG_FILE_MODE); in DumpStackInfo()
377 HIVIEW_LOGE("failed to open %{public}s, err: %{public}d", logFilePath.c_str(), errno); in DumpStackInfo()
/ohos5.0/base/hiviewdfx/faultloggerd/services/
H A Dfault_logger_daemon.cpp726 std::string logFilePath = faultLoggerConfig_->GetLogFilePath(); in RemoveTempFileIfNeed() local
728 OHOS::GetDirFiles(logFilePath, files); in RemoveTempFileIfNeed()
730 if (!isBeta_ && OHOS::GetFolderSize(logFilePath) > maxFileSize) { in RemoveTempFileIfNeed()