Home
last modified time | relevance | path

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

/external/libchrome/base/trace_event/
Dtrace_event_android.cc24 int g_atrace_fd = -1; variable
79 WriteToATrace(g_atrace_fd, out.c_str(), out.size()); in WriteEvent()
109 if (g_atrace_fd != -1) in StartATrace()
112 g_atrace_fd = HANDLE_EINTR(open(kATraceMarkerFile, O_WRONLY)); in StartATrace()
113 if (g_atrace_fd == -1) { in StartATrace()
123 if (g_atrace_fd == -1) in StopATrace()
126 close(g_atrace_fd); in StopATrace()
127 g_atrace_fd = -1; in StopATrace()
142 if (g_atrace_fd == -1) in SendToATrace()
175 WriteToATrace(g_atrace_fd, "E", 1); in SendToATrace()
[all …]