Home
last modified time | relevance | path

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

/external/libmojo/base/trace_event/
Dtrace_event_android.cc23 int g_atrace_fd = -1; variable
78 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 …]