Generate a PEL if any attentions found in hardware
analyzer::analyzeHardware() will create a PEL, if any attentions are
found in hardware, instead of requiring the caller to create the PEL.
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Ie5319eca56cbeba4ddc25bcb897d4d143edde742
diff --git a/attn/attn_handler.cpp b/attn/attn_handler.cpp
index 04447ab..cae3da9 100644
--- a/attn/attn_handler.cpp
+++ b/attn/attn_handler.cpp
@@ -210,23 +210,12 @@
}
else
{
- // errors that were isolated
- std::map<std::string, std::string> errors;
-
- // analyze errors
- if (true != analyzer::analyzeHardware(errors))
+ // Look for any attentions found in hardware. This will generate and
+ // comment a PEL if any errors are found.
+ if (true != analyzer::analyzeHardware())
{
rc = RC_ANALYZER_ERROR;
}
- else
- {
- std::stringstream ss;
- ss << "Analyzer isolated " << errors.size() << " error(s)";
- trace<level::INFO>(ss.str().c_str());
-
- // add checkstop event to log
- eventCheckstop(errors);
- }
}
return rc;