Searched refs:g_traceFolder (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/cmds/atrace/ |
D | atrace.cpp | 283 static std::string g_traceFolder; variable 341 return access((g_traceFolder + filename).c_str(), F_OK) != -1; in fileExists() 346 return access((g_traceFolder + filename).c_str(), W_OK) != -1; in fileIsWritable() 355 int traceFD = creat((g_traceFolder + path).c_str(), 0); in truncateFile() 357 fprintf(stderr, "error truncating %s: %s (%d)\n", (g_traceFolder + path).c_str(), in truncateFile() 369 std::string fullFilename = g_traceFolder + filename; in _writeStr() 406 int fd = open((g_traceFolder + k_traceMarkerPath).c_str(), O_WRONLY); in writeClockSyncMarker() 547 std::ifstream clockFile((g_traceFolder + k_traceClockPath).c_str(), O_RDONLY); in setClock() 653 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 …]
|