Home
last modified time | relevance | path

Searched refs:pPath (Results 1 - 2 of 2) sorted by relevance

/base/hiviewdfx/hilog/services/hilogd/
H A Dlog_persister_rotator.cpp115 std::string pPath(ent->d_name, length); in RemoveOldFile()
116 if (IsOldFile(pPath, m_currentLogFileIdx)) { in RemoveOldFile()
117 remove((HILOG_FILE_DIR + pPath).c_str()); in RemoveOldFile()
H A Dservice_controller.cpp976 std::string pPath(ent->d_name, length); in RestorePersistJobs()
977 if (length >= INFO_SUFFIX && pPath.substr(length - INFO_SUFFIX, length) == ".info") { in RestorePersistJobs()
978 if (pPath == "hilog.info") { in RestorePersistJobs()
981 std::cout << " Found a persist job! Path: " << LOG_PERSISTER_DIR + pPath << "\n"; in RestorePersistJobs() local
982 FILE* infile = fopen((LOG_PERSISTER_DIR + pPath).c_str(), "r"); in RestorePersistJobs()

Completed in 3 milliseconds