Attn: Do not always trace hostboot registers
Only trace hostboot registers if we are handling a checkstop or TI.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I66f234b424dbd36e8789c64c9a9e82a3a0e75d44
diff --git a/attn/ti_handler.cpp b/attn/ti_handler.cpp
index 8ecb64b..2000331 100644
--- a/attn/ti_handler.cpp
+++ b/attn/ti_handler.cpp
@@ -1,6 +1,5 @@
#include <attn/attn_common.hpp>
#include <attn/attn_dbus.hpp>
-#include <attn/attn_handler.hpp>
#include <attn/attn_logging.hpp>
#include <attn/pel/pel_common.hpp>
#include <attn/ti_handler.hpp>
@@ -25,6 +24,9 @@
{
int rc = RC_SUCCESS;
+ // capture some additional data for logs/traces
+ addHbStatusRegs();
+
// check TI data area if it is available
if (nullptr != i_tiDataArea)
{