Searched refs:errorsToMonitor (Results 1 – 6 of 6) sorted by relevance
/openbmc/phosphor-state-manager/ |
H A D | systemd_target_parser.cpp | 9 assert(errorsToMonitor.size()); in validateErrorsToMonitor() 13 for (const auto& errorToMonitor : errorsToMonitor) in validateErrorsToMonitor() 23 std::find(errorsToMonitor.begin(), errorsToMonitor.end(), "default"); in validateErrorsToMonitor() 24 if (errorItr != errorsToMonitor.end()) in validateErrorsToMonitor() 27 if (errorsToMonitor.size() != 1) in validateErrorsToMonitor() 33 errorsToMonitor.erase(errorItr); in validateErrorsToMonitor() 34 errorsToMonitor.emplace_back("timeout"); in validateErrorsToMonitor() 35 errorsToMonitor.emplace_back("failed"); in validateErrorsToMonitor() 36 errorsToMonitor.emplace_back("dependency"); in validateErrorsToMonitor() 64 entry.errorsToMonitor = in parseFiles() [all …]
|
H A D | systemd_target_signal.cpp | 85 if (std::find(targetEntry->second.errorsToMonitor.begin(), in processError() 86 targetEntry->second.errorsToMonitor.end(), result) != in processError() 87 targetEntry->second.errorsToMonitor.end()) in processError()
|
H A D | systemd_target_parser.hpp | 13 std::vector<std::string> errorsToMonitor; member
|
H A D | systemd_target_monitor.cpp | 23 for (const auto& eToMonitor : value.errorsToMonitor) in dump_targets()
|
/openbmc/phosphor-state-manager/test/ |
H A D | systemd_parser.cpp | 21 "errorsToMonitor": ["default"], in TEST() 24 "errorsToMonitor": ["timeout", "failed"], in TEST() 34 "errorsToMonitor": ["default"], in TEST() 37 "errorsToMonitor": ["dependency"], in TEST() 66 EXPECT_EQ(tgt.errorsToMonitor.size(), 2); in TEST() 69 EXPECT_EQ(tgt.errorsToMonitor.size(), 3); in TEST() 81 "errorsToMonitor": ["timeout", "invalid"], in TEST()
|
/openbmc/docs/designs/ |
H A D | target-fail-monitoring.md | 116 "errorsToMonitor": ["default"], 121 "errorsToMonitor": ["timeout", "failed"],
|