Home
last modified time | relevance | path

Searched refs:jsonInfo (Results 1 - 7 of 7) sorted by relevance

/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Ddfx_stack_info_formatter.cpp38 void FillJsFrame(const DfxFrame& frame, Json::Value& jsonInfo) in FillJsFrame() argument
45 jsonInfo.append(frameJson); in FillJsFrame()
55 Json::Value jsonInfo; in GetStackInfo() local
56 if (!GetStackInfo(isJsonDump, jsonInfo)) { in GetStackInfo()
59 jsonStringInfo.append(Json::FastWriter().write(jsonInfo)); in GetStackInfo()
66 bool DfxStackInfoFormatter::GetStackInfo(bool isJsonDump, Json::Value& jsonInfo) const in GetStackInfo()
73 GetDumpInfo(jsonInfo); in GetStackInfo()
75 GetNativeCrashInfo(jsonInfo); in GetStackInfo()
80 void DfxStackInfoFormatter::GetNativeCrashInfo(Json::Value& jsonInfo) const in GetNativeCrashInfo()
82 jsonInfo["tim in GetNativeCrashInfo()
[all...]
H A Ddfx_stack_info_formatter.h44 bool GetStackInfo(bool isJsonDump, Json::Value& jsonInfo) const;
45 void GetNativeCrashInfo(Json::Value& jsonInfo) const;
46 void GetDumpInfo(Json::Value& jsonInfo) const;
47 bool FillFrames(const std::shared_ptr<DfxThread>& thread, Json::Value& jsonInfo) const;
48 void FillNativeFrame(const DfxFrame& frame, Json::Value& jsonInfo) const;
49 void AppendThreads(const std::vector<std::shared_ptr<DfxThread>>& threads, Json::Value& jsonInfo) const;
H A Dprocess_dumper.h59 void ReportCrashInfo(const std::string& jsonInfo);
61 void Report(std::shared_ptr<ProcessDumpRequest> request, std::string &jsonInfo);
65 void ReportAddrSanitizer(ProcessDumpRequest &request, std::string &jsonInfo);
H A Dprocess_dumper.cpp320 std::string jsonInfo; in Dump() local
323 formatter.GetStackInfo(isJsonDump_, jsonInfo); in Dump()
324 DFXLOGI("Finish GetStackInfo len %{public}" PRIuPTR "", jsonInfo.length()); in Dump()
326 WriteData(jsonFd_, jsonInfo, MAX_PIPE_SIZE); in Dump()
346 Report(request, jsonInfo); in Dump()
349 void ProcessDumper::Report(std::shared_ptr<ProcessDumpRequest> request, std::string &jsonInfo) in Report() argument
358 ReportAddrSanitizer(*request, jsonInfo); in Report()
362 ReportCrashInfo(jsonInfo); in Report()
864 void ProcessDumper::ReportCrashInfo(const std::string& jsonInfo) in ReportCrashInfo() argument
867 reporter_->SetCppCrashInfo(jsonInfo); in ReportCrashInfo()
873 ReportAddrSanitizer(ProcessDumpRequest &request, std::string &jsonInfo) ReportAddrSanitizer() argument
[all...]
/base/hiviewdfx/faultloggerd/interfaces/innerkits/formatter/
H A Ddfx_json_formatter.cpp138 Json::Value jsonInfo; in FormatKernelStackJson() local
159 jsonInfo.append(threadInfo); in FormatKernelStackJson()
161 formattedStack = Json::FastWriter().write(jsonInfo); in FormatKernelStackJson()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
H A Ddata_publisher.cpp53 std::string GetBundleNameFromJsonStr(const std::string& jsonInfo) in GetBundleNameFromJsonStr() argument
58 if (!reader.parse(jsonInfo, root)) { in GetBundleNameFromJsonStr()
59 HIVIEW_LOGE("failed to parse jsonInfo."); in GetBundleNameFromJsonStr()
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/unittest/
H A Dfaultlogger_unittest.cpp384 std::string jsonInfo = R"~({"crash_type":"NativeCrash", "exception":{"frames": in GenCppCrashLogTestCommon() local
397 TEMP_FAILURE_RETRY(write(pipeFd[1], jsonInfo.c_str(), jsonInfo.size())); in GenCppCrashLogTestCommon()

Completed in 8 milliseconds