Home
last modified time | relevance | path

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

/ohos5.0/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
H A Dhitrace_meter.cpp49 int g_markerFd = -1; variable
207 g_markerFd = open(debugFile.c_str(), O_WRONLY | O_CLOEXEC); in OpenTraceMarkerFile()
209 SetMarkerFd(g_markerFd); in OpenTraceMarkerFile()
211 if (g_markerFd == -1) { in OpenTraceMarkerFile()
213 g_markerFd = open(traceFile.c_str(), O_WRONLY | O_CLOEXEC); in OpenTraceMarkerFile()
214 if (g_markerFd == -1) { in OpenTraceMarkerFile()
239 if (write(g_markerFd, buf, count) < 0) { in WriteToTraceMarker()
610 if (UNEXPECTANTLY(g_tagsProperty & tag) && g_markerFd != -1) { in AddHitraceMeterMarker()
722 g_markerFd = -1; in SetMarkerFd()