Lines Matching refs:g_traceFolder
287 static std::string g_traceFolder; variable
342 return access((g_traceFolder + filename).c_str(), F_OK) != -1; in fileExists()
347 return access((g_traceFolder + filename).c_str(), W_OK) != -1; in fileIsWritable()
356 int traceFD = creat((g_traceFolder + path).c_str(), 0); in truncateFile()
358 fprintf(stderr, "error truncating %s: %s (%d)\n", (g_traceFolder + path).c_str(), in truncateFile()
370 std::string fullFilename = g_traceFolder + filename; in _writeStr()
407 int fd = open((g_traceFolder + k_traceMarkerPath).c_str(), O_WRONLY); in writeClockSyncMarker()
548 std::ifstream clockFile((g_traceFolder + k_traceClockPath).c_str(), O_RDONLY); in setClock()
654 if (!android::base::ReadFileToString(g_traceFolder + k_ftraceFilterPath, &buf)) { in verifyKernelTraceFuncs()
904 int traceFD = open((g_traceFolder + k_traceStreamPath).c_str(), O_RDWR); in streamTrace()
929 int traceFD = open((g_traceFolder + k_tracePath).c_str(), O_RDWR); in dumpTrace()
1107 g_traceFolder = tracefs_path; in findTraceFiles()
1109 g_traceFolder = debugfs_path; in findTraceFiles()