Lines Matching refs:g_traceFolder
274 static std::string g_traceFolder; variable
332 return access((g_traceFolder + filename).c_str(), F_OK) != -1; in fileExists()
337 return access((g_traceFolder + filename).c_str(), W_OK) != -1; in fileIsWritable()
346 int traceFD = creat((g_traceFolder + path).c_str(), 0); in truncateFile()
348 fprintf(stderr, "error truncating %s: %s (%d)\n", (g_traceFolder + path).c_str(), in truncateFile()
360 std::string fullFilename = g_traceFolder + filename; in _writeStr()
397 int fd = open((g_traceFolder + k_traceMarkerPath).c_str(), O_WRONLY); in writeClockSyncMarker()
538 std::ifstream clockFile((g_traceFolder + k_traceClockPath).c_str(), O_RDONLY); in setClock()
719 if (!android::base::ReadFileToString(g_traceFolder + k_ftraceFilterPath, &buf)) { in verifyKernelTraceFuncs()
975 int traceFD = open((g_traceFolder + k_traceStreamPath).c_str(), O_RDWR); in streamTrace()
1000 int traceFD = open((g_traceFolder + k_tracePath).c_str(), O_RDWR); in dumpTrace()
1178 g_traceFolder = tracefs_path; in findTraceFiles()
1180 g_traceFolder = debugfs_path; in findTraceFiles()