Searched refs:jsonStack (Results 1 – 3 of 3) sorted by relevance
376 std::string jsonStack = event->GetEventValue("STACK"); in WriteFreezeJsonInfo() local377 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()
36 static bool FormatJsonStack(std::string jsonStack, std::string& outStackStr);
74 bool DfxJsonFormatter::FormatJsonStack(std::string jsonStack, std::string& outStackStr) in FormatJsonStack() argument78 if (!(reader.parse(jsonStack, threads))) { in FormatJsonStack()