1 #pragma once
2 #include <nlohmann/json.hpp>
3 
4 namespace phosphor::fan::monitor
5 {
6 
7 /**
8  * @brief Collects hwmon data for event log FFDC
9  *
10  * Makes a list of the loaded hwmon driver names, and
11  * pulls interesting lines from dmesg.
12  *
13  * @return json - The FFDC data
14  */
15 nlohmann::json collectHwmonFFDC();
16 
17 } // namespace phosphor::fan::monitor
18