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.cpp39 int g_markerFd = -1; variable
110 g_markerFd = open(debugFile.c_str(), O_WRONLY | O_CLOEXEC); in OpenTraceMarkerFile()
111 if (g_markerFd == -1) { in OpenTraceMarkerFile()
113 g_markerFd = open(traceFile.c_str(), O_WRONLY | O_CLOEXEC); in OpenTraceMarkerFile()
114 if (g_markerFd == -1) { in OpenTraceMarkerFile()
148 if (write(g_markerFd, record.c_str(), record.size()) < 0) { in AddHitraceMeterMarker()