Home
last modified time | relevance | path

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

/frameworks/native/cmds/atrace/
Datrace.cpp274 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()
[all …]