Searched refs:g_traceRootPath (Results 1 – 4 of 4) sorted by relevance
139 std::string g_traceRootPath; variable345 return g_traceRootPath + fileName; in GetFilePath()369 g_traceRootPath = debugfsPath; in IsTraceMounted()373 g_traceRootPath = tracefsPath; in IsTraceMounted()455 if (access((g_traceRootPath + filename).c_str(), W_OK) < 0) { in WriteStrToFile()457 (g_traceRootPath + filename).c_str(), errno); in WriteStrToFile()460 return WriteStrToFileInner(g_traceRootPath + filename, str); in WriteStrToFile()470 int fd = creat((g_traceRootPath + "trace").c_str(), 0); in TruncateFile()933 std::string src = g_traceRootPath + "/trace_pipe_raw"; in HmWriteCpuRawInner()1008 MarkClockSync(g_traceRootPath); in DumpTraceLoop()[all …]
145 string g_traceRootPath; variable183 g_traceRootPath = debugfsPath; in IsTraceMounted()187 g_traceRootPath = tracefsPath; in IsTraceMounted()197 OHOS::HiviewDFX::Hitrace::CanonicalizeSpecPath((g_traceRootPath + filename).c_str()); in WriteStrToFile()566 std::string tracePath = g_traceRootPath + TRACE_PATH; in DumpTrace()718 OHOS::HiviewDFX::Hitrace::MarkClockSync(g_traceRootPath); in HandleRecordingShortText()753 OHOS::HiviewDFX::Hitrace::MarkClockSync(g_traceRootPath); in HandleRecordingLongDump()761 OHOS::HiviewDFX::Hitrace::MarkClockSync(g_traceRootPath); in HandleRecordingLongFinish()
60 static string g_traceRootPath; variable85 g_traceRootPath = debugfsDir; in SetUpTestCase()87 g_traceRootPath = tracefsDir; in SetUpTestCase()219 if (g_traceRootPath == "") { in WriteStrToFileInner()233 if (access((g_traceRootPath + filename).c_str(), W_OK) == 0) { in WriteStringToFile()234 if (WriteStrToFileInner(g_traceRootPath + filename, str)) { in WriteStringToFile()244 if (g_traceRootPath.empty()) { in CleanTrace()249 ofs.open(g_traceRootPath + TRACE_PATH, ofstream::out); in CleanTrace()307 return ReadFile2string(g_traceRootPath + TRACE_PATH); in ReadTrace()
52 std::string g_traceRootPath; variable122 g_traceRootPath = debugfsDir; in SetUpTestCase()124 g_traceRootPath = tracefsDir; in SetUpTestCase()577 ASSERT_TRUE(MarkClockSync(g_traceRootPath) == true);