Home
last modified time | relevance | path

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

/frameworks/native/cmds/atrace/
Datrace.cpp306 int traceFD = creat((g_traceFolder + path).c_str(), 0); in truncateFile() local
307 if (traceFD == -1) { in truncateFile()
313 close(traceFD); in truncateFile()
922 int traceFD = open((g_traceFolder + k_traceStreamPath).c_str(), O_RDWR); in streamTrace() local
923 if (traceFD == -1) { in streamTrace()
929 ssize_t bytes_read = read(traceFD, trace_data, 4096); in streamTrace()
947 int traceFD = open((g_traceFolder + k_tracePath).c_str(), O_RDWR); in dumpTrace() local
948 if (traceFD == -1) { in dumpTrace()
961 close(traceFD); in dumpTrace()
970 close(traceFD); in dumpTrace()
[all …]