blob: 51399b06b8dc4543b90504eaf03d775296d65ee4 [file] [log] [blame]
Ben Tyner0205f3b2020-02-24 10:24:47 -06001#pragma once
2
Ben Tyner7029e522021-08-09 19:18:24 -05003#include <attn/attn_dump.hpp>
4
Ben Tyner0205f3b2020-02-24 10:24:47 -06005namespace analyzer
6{
7
8/**
Zane Shelley097a71a2020-06-08 15:55:29 -05009 * @brief Queries the host hardware for all attentions reported by each active
10 * chip. Then it performs all approriate RAS actions based on the active
11 * attentions.
Ben Tyner0205f3b2020-02-24 10:24:47 -060012 *
Ben Tyner7029e522021-08-09 19:18:24 -050013 * @param[out] o_dumpParameters Dump request parameters
Zane Shelley611b3442021-11-19 16:02:01 -060014 * @return The platform log ID (PLID) of the PEL generated during analysis. Will
15 * return zero if no PEL is generated.
Ben Tyner0205f3b2020-02-24 10:24:47 -060016 */
Zane Shelley611b3442021-11-19 16:02:01 -060017uint32_t analyzeHardware(attn::DumpParameters& o_dumpParameters);
Ben Tyner0205f3b2020-02-24 10:24:47 -060018
Ben Tynereea45422021-04-15 10:54:14 -050019/**
20 * @brief Get error analyzer build information
21 *
22 * @return Pointer to build information
23 */
24const char* getBuildInfo();
25
Ben Tyner0205f3b2020-02-24 10:24:47 -060026} // namespace analyzer