Home
last modified time | relevance | path

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

/developtools/profiler/host/smartperf/client/client_command/
Dsp_log.cpp53 std::string g_currentLogFilePath; variable
211 if ((date == g_currentDate) && IsFilePathValid(g_currentLogFilePath)) { in GetLogFilePath()
214 LOGE("Current log file path invalid: %s", g_currentLogFilePath.c_str()); in GetLogFilePath()
230 g_currentLogFilePath = GetCurrentLogFilePath(1); in GetLogFilePath()
237 g_currentLogFilePath = filePath; in GetLogFilePath()
248 g_currentLogFilePath = GetCurrentLogFilePath(fileNumber + 1); in GetLogFilePath()
254 bool chmodFlag = !std::__fs::filesystem::exists(g_currentLogFilePath); in WriteMessage()
256 std::ofstream logFile(g_currentLogFilePath, std::ios::app); in WriteMessage()
259 LOGD("Create log file %s.", g_currentLogFilePath.c_str()); in WriteMessage()
260 if (!Chmod(g_currentLogFilePath, LOG_FILE_MODE)) { in WriteMessage()
[all …]