Home
last modified time | relevance | path

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

/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
Dhitrace_meter.cpp41 int g_markerFd = -1; variable
114 g_markerFd = open(debugFile.c_str(), O_WRONLY | O_CLOEXEC); in OpenTraceMarkerFile()
115 if (g_markerFd == -1) { in OpenTraceMarkerFile()
117 g_markerFd = open(traceFile.c_str(), O_WRONLY | O_CLOEXEC); in OpenTraceMarkerFile()
118 if (g_markerFd == -1) { in OpenTraceMarkerFile()
152 if (write(g_markerFd, buf, count) < 0) { in WriteToTraceMarker()
201 if (UNEXPECTANTLY(g_tagsProperty & tag) && g_markerFd != -1) { in AddHitraceMeterMarker()