Revert "Add level 2 callout to TI logs"
This reverts commit 60cb2e4277759661f9054d263cc877dc7fa406ed.
Change-Id: I707dcb5502ac43c38ad80f13e60afb2d09cbf711
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
diff --git a/attn/attn_logging.cpp b/attn/attn_logging.cpp
index db14a92..34f3735 100644
--- a/attn/attn_logging.cpp
+++ b/attn/attn_logging.cpp
@@ -6,14 +6,11 @@
#include <attn/attn_dump.hpp>
#include <attn/attn_logging.hpp>
#include <attn/pel/pel_minimal.hpp>
-#include <nlohmann/json.hpp>
#include <phosphor-logging/log.hpp>
#include <util/dbus.hpp>
#include <util/ffdc.hpp>
#include <util/trace.hpp>
-#include <fstream>
-
namespace attn
{
/** @brief Tuple containing information about ffdc files */
@@ -481,16 +478,8 @@
trace::inf("TI info size = %u", tiInfoSize);
- auto userData = createFFDCFiles(i_tiInfoData, tiInfoSize);
-
- // Per request from the Hostboot team. Add a level 2 callout.
- userData.emplace_back(util::FFDCFormat::Custom, 0xCA, 0x01);
- std::ofstream o{userData.back().getPath()};
- o << nlohmann::json::parse(R"(
- [ { "Procedure": "next_level_support", "Priority": "L" } ]
- )");
-
- event(EventType::Terminate, i_additionalData, userData);
+ event(EventType::Terminate, i_additionalData,
+ createFFDCFiles(i_tiInfoData, tiInfoSize));
}
/** @brief Commit SBE vital event to log, returns event log ID */