Searched refs:g_traceFolder (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/cmds/atrace/ |
D | atrace.cpp | 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() [all …]
|