Lines Matching refs:g_traceRootPath
84 string g_traceRootPath; variable
104 g_traceRootPath = debugfsPath; in IsTraceMounted()
108 g_traceRootPath = tracefsPath; in IsTraceMounted()
118 return access((g_traceRootPath + filename).c_str(), F_OK) != -1; in IsFileExit()
123 return access((g_traceRootPath + filename).c_str(), W_OK) != -1; in IsWritableFile()
129 out.open(g_traceRootPath + filename, ios::out); in WriteStrToFile()
217 string resolvedPath = CanonicalizeSpecPath((g_traceRootPath + filename).c_str()); in ReadFile()
220 fprintf(stderr, "open file: %s failed!\n", (g_traceRootPath + filename).c_str()); in ReadFile()
569 int fd = creat((g_traceRootPath + path).c_str(), 0); in TruncateFile()
571 fprintf(stderr, "Error: clear %s, errno: %d\n", (g_traceRootPath + path).c_str(), errno); in TruncateFile()
680 string resolvedPath = CanonicalizeSpecPath((g_traceRootPath + path).c_str()); in DumpTrace()
707 string resolvedPath = CanonicalizeSpecPath((g_traceRootPath + TRACE_MARKER_PATH).c_str()); in MarkOthersClockSync()