Home
last modified time | relevance | path

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

/base/hiviewdfx/hiview/plugins/eventlogger/
Devent_logger.cpp376 std::string jsonStack = event->GetEventValue("STACK"); in WriteFreezeJsonInfo() local
377 HIVIEW_LOGI("Current jsonStack is? jsonStack:%{public}s", jsonStack.c_str()); in WriteFreezeJsonInfo()
378 if (FileUtil::FileExists(jsonStack)) { in WriteFreezeJsonInfo()
379 jsonStack = GetAppFreezeFile(jsonStack); in WriteFreezeJsonInfo()
382 if (!jsonStack.empty() && jsonStack[0] == '[') { // json stack info should start with '[' in WriteFreezeJsonInfo()
383 jsonStack = StringUtil::UnescapeJsonStringValue(jsonStack); in WriteFreezeJsonInfo()
384 if (!DfxJsonFormatter::FormatJsonStack(jsonStack, stack)) { in WriteFreezeJsonInfo()
385 stack = jsonStack; in WriteFreezeJsonInfo()
388 stack = jsonStack; in WriteFreezeJsonInfo()
396 FreezeJsonUtil::WriteKeyValue(jsonFd, "stack", jsonStack); in WriteFreezeJsonInfo()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/formatter/include/
Ddfx_json_formatter.h36 static bool FormatJsonStack(std::string jsonStack, std::string& outStackStr);
/base/hiviewdfx/faultloggerd/interfaces/innerkits/formatter/
Ddfx_json_formatter.cpp74 bool DfxJsonFormatter::FormatJsonStack(std::string jsonStack, std::string& outStackStr) in FormatJsonStack() argument
78 if (!(reader.parse(jsonStack, threads))) { in FormatJsonStack()