Home
last modified time | relevance | path

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

/frameworks/native/cmds/atrace/
Datrace.cpp277 int traceFD = creat((g_traceFolder + path).c_str(), 0); in truncateFile() local
278 if (traceFD == -1) { in truncateFile()
284 close(traceFD); in truncateFile()
870 int traceFD = open((g_traceFolder + k_traceStreamPath).c_str(), O_RDWR); in streamTrace() local
871 if (traceFD == -1) { in streamTrace()
877 ssize_t bytes_read = read(traceFD, trace_data, 4096); in streamTrace()
895 int traceFD = open((g_traceFolder + k_tracePath).c_str(), O_RDWR); in dumpTrace() local
896 if (traceFD == -1) { in dumpTrace()
909 close(traceFD); in dumpTrace()
918 close(traceFD); in dumpTrace()
[all …]