Home
last modified time | relevance | path

Searched refs:sections (Results 1 - 3 of 3) sorted by relevance

/base/hiviewdfx/hiview/plugins/faultlogger/test/common/unittest/
H A Dfaultlog_formatter_unittest.cpp33 std::map<std::string, std::string> sections = { in HWTEST_F() local
38 auto summary = FaultLogger::GetSummaryByType(logType, sections); in HWTEST_F()
41 summary = FaultLogger::GetSummaryByType(logType, sections); in HWTEST_F()
44 summary = FaultLogger::GetSummaryByType(logType, sections); in HWTEST_F()
/base/hiviewdfx/hiview/plugins/faultlogger/service/
H A Dfaultlog_formatter.h25 void WriteFaultLogToFile(int32_t fd, int32_t logType, std::map<std::string, std::string> sections);
28 std::string GetSummaryByType(int32_t logType, std::map<std::string, std::string> sections);
H A Dfaultlog_formatter.cpp135 std::string GetSummaryByType(int32_t logType, std::map<std::string, std::string> sections) in GetSummaryByType() argument
143 summary = sections[STACKTRACE[LOG_MAP_KEY]]; in GetSummaryByType()
146 summary = sections[KEY_THREAD_INFO[LOG_MAP_KEY]]; in GetSummaryByType()
226 void WriteFaultLogToFile(int32_t fd, int32_t logType, std::map<std::string, std::string> sections) in WriteFaultLogToFile() argument
230 auto value = sections[item[LOG_MAP_KEY]]; in WriteFaultLogToFile()
251 if (!sections["KEYLOGFILE"].empty()) { in WriteFaultLogToFile()
253 WriteStackTraceFromLog(fd, sections["PID"], sections["KEYLOGFILE"]); in WriteFaultLogToFile()

Completed in 2 milliseconds