Home
last modified time | relevance | path

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

/frameworks/native/cmds/atrace/
Datrace.cpp356 int traceFD = creat((g_traceFolder + path).c_str(), 0); in truncateFile() local
357 if (traceFD == -1) { in truncateFile()
363 close(traceFD); in truncateFile()
904 int traceFD = open((g_traceFolder + k_traceStreamPath).c_str(), O_RDWR); in streamTrace() local
905 if (traceFD == -1) { in streamTrace()
911 ssize_t bytes_read = read(traceFD, trace_data, 4096); in streamTrace()
929 int traceFD = open((g_traceFolder + k_tracePath).c_str(), O_RDWR); in dumpTrace() local
930 if (traceFD == -1) { in dumpTrace()
943 close(traceFD); in dumpTrace()
952 close(traceFD); in dumpTrace()
[all …]