It would be good to capture a BMC dump after the system is shut down to do fan or high ambient related changes, after all of the error logs are created.
I think this would be in:
fan-monitor: System::handleOfflineFanController()
fan-monitor: the powerOff() functions in power_off_action.hpp
fan-monitor: meltdownTimerExpired() in power_off_action.hpp
sensor-monitor: timerExpired() in shutdown_alarm_monitor.cpp
It would be good to capture a BMC dump after the system is shut down to do fan or high ambient related changes, after all of the error logs are created.
I think this would be in:
An example of code that creates the dump is https://github.com/ibm-openbmc/phosphor-state-manager/blob/1020/utils.cpp#L167