Searched refs:g_atrace_fd (Results 1 – 1 of 1) sorted by relevance
23 int g_atrace_fd = -1; variable78 WriteToATrace(g_atrace_fd, out.c_str(), out.size()); in WriteEvent()108 if (g_atrace_fd != -1) in StartATrace()111 g_atrace_fd = HANDLE_EINTR(open(kATraceMarkerFile, O_WRONLY)); in StartATrace()112 if (g_atrace_fd == -1) { in StartATrace()122 if (g_atrace_fd == -1) in StopATrace()125 close(g_atrace_fd); in StopATrace()126 g_atrace_fd = -1; in StopATrace()141 if (g_atrace_fd == -1) in SendToATrace()174 WriteToATrace(g_atrace_fd, "E", 1); in SendToATrace()[all …]