Searched refs:g_hiviewConfig (Results 1 – 13 of 13) sorted by relevance
/base/hiviewdfx/hiview_lite/ |
D | hiview_config.c | 19 HiviewConfig g_hiviewConfig = { variable 31 g_hiviewConfig.hiviewInited = FALSE; in HiviewConfigInit() 32 g_hiviewConfig.logOutputModule = (uint64_t)LOG_OUTPUT_MODULE; in HiviewConfigInit() 33 g_hiviewConfig.writeFailureCount = 0; in HiviewConfigInit()
|
D | hiview_config.h | 97 extern HiviewConfig g_hiviewConfig;
|
D | hiview_service.c | 69 g_hiviewConfig.hiviewInited = TRUE; in Initialize()
|
/base/hiviewdfx/hilog_lite/command/ |
D | hilog_command.c | 53 HiviewConfig g_hiviewConfig = { variable 86 g_hiviewConfig.level = level; in SetLogLevel() 100 int modSize = sizeof(g_hiviewConfig.logOutputModule); in SetOutputDomain() 102 (void)memset_s(g_hiviewConfig.logOutputModule, modSize, '0', modSize); in SetOutputDomain() 108 …if (strncpy_s(g_hiviewConfig.logOutputModule + destStart, modSize - destStart, mod + sourceStart, … in SetOutputDomain() 113 printf("Set log domain : %s \n", g_hiviewConfig.logOutputModule); in SetOutputDomain() 183 g_hiviewConfig.silenceMod = SILENT_MODE_ON; in HilogSilenceProc() 249 return strncmp(logModule, g_hiviewConfig.logOutputModule, DOMAIN_ID_LENGTH) == 0; in FilterModuleLog()
|
D | hilog_command.h | 53 extern HiviewConfig g_hiviewConfig;
|
/base/hiviewdfx/hilog_lite/services/hilogcat/ |
D | hiview_logcat.c | 35 if (ret == -1 || g_hiviewConfig.silenceMod == SILENT_MODE_ON) { in main() 65 printFlag = FilterLevelLog(g_hiviewConfig.level, *(head->msg)); in main() 70 printFlag = FilterModuleLog(g_hiviewConfig.logOutputModule, (head->msg) + MODULE_OFFSET); in main()
|
/base/hiviewdfx/hilog_lite/frameworks/mini/ |
D | hiview_log.c | 28 #define LOG_IS_OUTPUT(mod) (g_hiviewConfig.logOutputModule & (((uint64_t)1) << (mod))) 69 if ((level < g_hiviewConfig.level) || (level < HILOG_COMPILE_LEVEL) || in CheckParameters() 119 if (g_hiviewConfig.logSwitch == HIVIEW_FEATURE_OFF || !CheckParameters(module, level) || in HiLogPrintf() 154 if (g_hiviewConfig.logSwitch == HIVIEW_FEATURE_OFF || !CheckParameters(module, level) || in HILOG_HashPrintf() 228 return g_hiviewConfig.level; in HiLogGetLogLevel() 234 g_hiviewConfig.level = level; in HiLogSetLogLevel()
|
D | hiview_output_log.c | 100 int8 opt = GETOPTION(g_hiviewConfig.outputOption); in InitLogOutput() 117 int8 opt = GETOPTION(g_hiviewConfig.outputOption); in ClearLogOutput() 160 int8 opt = GETOPTION(g_hiviewConfig.outputOption); in OutputLog() 161 boolean isPrint = g_hiviewConfig.outputOption >= OUTPUT_OPTION_PRINT; in OutputLog() 174 if (g_hiviewConfig.hiviewInited == FALSE) { in OutputLog() 274 g_hiviewConfig.writeFailureCount++; in OutputLog2TextFile() 335 g_hiviewConfig.writeFailureCount++; in OutputLog2BinFile() 376 } else if (GETOPTION(g_hiviewConfig.outputOption) == OUTPUT_OPTION_DEBUG) { in LogContentFmt() 602 int8 opt = GETOPTION(g_hiviewConfig.outputOption); in FlushLog() 645 return GETOPTION(g_hiviewConfig.outputOption); in HiviewGetConfigOption()
|
D | hiview_log_limit.c | 61 if (GETOPTION(g_hiviewConfig.outputOption) == OUTPUT_OPTION_DEBUG) { in LogIsLimited()
|
/base/hiviewdfx/hievent_lite/command/ |
D | hievent_lite_command.c | 83 if (g_hiviewConfig.eventSwitch == HIVIEW_FEATURE_ON) { in HieventSetProc() 106 … g_hiviewConfig.eventSwitch = (flag == HIVIEW_FEATURE_ON) ? HIVIEW_FEATURE_ON : HIVIEW_FEATURE_OFF in SwitchEvent()
|
/base/hiviewdfx/hievent_lite/frameworks/ |
D | hiview_event.c | 43 if (g_hiviewConfig.eventSwitch == HIVIEW_FEATURE_ON && HIEVENT_COMPILE_TYPE > HIEVENT_NONE) { in HiEventInit() 53 if (g_hiviewConfig.eventSwitch == HIVIEW_FEATURE_OFF) { in HiEventPrintf() 75 if (g_hiviewConfig.eventSwitch == HIVIEW_FEATURE_OFF || num > EVENT_VALUE_MAX_NUM) { in HiEventCreate() 99 … if (g_hiviewConfig.eventSwitch == HIVIEW_FEATURE_OFF || event == NULL || event->payload == NULL || in HiEventPutInteger() 116 … if (g_hiviewConfig.eventSwitch == HIVIEW_FEATURE_OFF || event == NULL || event->payload == NULL) { in HiEventReport()
|
D | hiview_output_event.c | 118 int8 opt = GETOPTION(g_hiviewConfig.outputOption); in ClearEventOutput() 128 int8 opt = GETOPTION(g_hiviewConfig.outputOption); in InitFaultEventOutput() 146 int8 opt = GETOPTION(g_hiviewConfig.outputOption); in InitUeEventOutput() 161 int8 opt = GETOPTION(g_hiviewConfig.outputOption); in InitStatEventOutput() 250 int8 opt = GETOPTION(g_hiviewConfig.outputOption); in OutputEvent() 367 g_hiviewConfig.writeFailureCount++; in Output2Flash() 467 switch (GETOPTION(g_hiviewConfig.outputOption)) { in FlushEventAsync() 493 switch (GETOPTION(g_hiviewConfig.outputOption)) { in FlushEventInfo()
|
/base/hiviewdfx/hilog_lite/services/apphilogcat/ |
D | hiview_applogcat.c | 212 printFlag = FilterLevelLog(g_hiviewConfig.level, *(head->msg)); in main() 217 printFlag = FilterModuleLog(g_hiviewConfig.logOutputModule, (head->msg) + MODULE_OFFSET); in main() 227 if (g_hiviewConfig.silenceMod == SILENT_MODE_OFF) { in main()
|