Home
last modified time | relevance | path

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

/frameworks/native/cmds/atrace/
Datrace.cpp346 int traceFD = creat((g_traceFolder + path).c_str(), 0); in truncateFile() local
347 if (traceFD == -1) { in truncateFile()
353 close(traceFD); in truncateFile()
975 int traceFD = open((g_traceFolder + k_traceStreamPath).c_str(), O_RDWR); in streamTrace() local
976 if (traceFD == -1) { in streamTrace()
982 ssize_t bytes_read = read(traceFD, trace_data, 4096); in streamTrace()
1000 int traceFD = open((g_traceFolder + k_tracePath).c_str(), O_RDWR); in dumpTrace() local
1001 if (traceFD == -1) { in dumpTrace()
1014 close(traceFD); in dumpTrace()
1023 close(traceFD); in dumpTrace()
[all …]