Home
last modified time | relevance | path

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

/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_logger.cpp26 static int32_t g_DebugLogFilleDes = INVALID_FD; variable
43 if (g_DebugLogFilleDes != INVALID_FD) { in WriteLog()
77 if (g_DebugLogFilleDes != INVALID_FD) { in InitDebugLog()
90 g_DebugLogFilleDes = RequestLogFileDescriptor(&faultloggerdRequest); in InitDebugLog()
91 if (g_DebugLogFilleDes <= 0) { in InitDebugLog()
93 g_DebugLogFilleDes = INVALID_FD; in InitDebugLog()
97 if (dup2(g_DebugLogFilleDes, STDERR_FILENO) == -1) { in InitDebugLog()
99 close(g_DebugLogFilleDes); in InitDebugLog()
100 g_DebugLogFilleDes = INVALID_FD; in InitDebugLog()
105 InitDebugFd(g_DebugLogFilleDes); in InitDebugLog()
[all …]