#
dfddd648 |
| 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: Ica590f8613f1fb89ab1ca676ac51c1cc7e38d67f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
fbf4703f |
| 17-Jul-2023 |
Patrick Williams <patrick@stwcx.xyz> |
use std::format instead of fmt::format
The std::format is sufficient for the uses in this repository except for in one file (override_fan_target.cpp, since P2286 isn't supported by GCC yet). Switch
use std::format instead of fmt::format
The std::format is sufficient for the uses in this repository except for in one file (override_fan_target.cpp, since P2286 isn't supported by GCC yet). Switch to std::format whenever possible.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib2576fb530a4d7ce238e1b0bd95b40b476ec2107
show more ...
|
#
477b13bd |
| 11-Jul-2022 |
Mike Capps <mikepcapps@gmail.com> |
monitor,sensor-monitor: catch exceptions when creating BMC dumps
catch and log exceptions thrown when creating BMC dumps
Signed-off-by: Mike Capps <mikepcapps@gmail.com> Change-Id: I986ca3e51302016
monitor,sensor-monitor: catch exceptions when creating BMC dumps
catch and log exceptions thrown when creating BMC dumps
Signed-off-by: Mike Capps <mikepcapps@gmail.com> Change-Id: I986ca3e51302016886ca8ae571054a5b4260a093
show more ...
|
#
683a96c6 |
| 27-Apr-2022 |
Mike Capps <mikepcapps@gmail.com> |
monitor: Capture BMC dumps on fan/ambient shutdowns
When fan-monitor or sensor-monitor generates an EPOW, this change creates a BMC dump after the system is powered off and all error logs are create
monitor: Capture BMC dumps on fan/ambient shutdowns
When fan-monitor or sensor-monitor generates an EPOW, this change creates a BMC dump after the system is powered off and all error logs are created.
Change-Id: Iacdd2d2b388e79988e2536d52497f0e697e1d444 Signed-off-by: Mike Capps <mikepcapps@gmail.com>
show more ...
|
#
ba3ee9ae |
| 06-Jan-2021 |
Matt Spinler <spinler@us.ibm.com> |
monitor: Fill in EpowPowerOff action This action does the following: 1) Starts a service mode timer, which would allow the system to be serviced before anything happens.
monitor: Fill in EpowPowerOff action This action does the following: 1) Starts a service mode timer, which would allow the system to be serviced before anything happens. 2) On the expiration of that timer, it will: a) Set the thermal fault alert D-Bus property. This will be used to send an EPOW alert to the host on IBM systems. b) Start the meltdown timer. 3) On the expiration of the meltdown timer, a hard power off will occur. This timer cannot be canceled even if fans start behaving. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I9434699b816b23b68c6d9d1e97283b4ab9befe4f
show more ...
|
#
c4bed6b8 |
| 06-Jan-2021 |
Matt Spinler <spinler@us.ibm.com> |
monitor: Remove _active from PowerOffAction It isn't used anywhere. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I4697a3ff775206501b1e000b8ce14de7637453b4
|
#
ac1efc11 |
| 27-Oct-2020 |
Matt Spinler <spinler@us.ibm.com> |
monitor: Re-log fan error on a power off In the case where a power off rule runs to completion and powers off the system due to either missing or faulted fans, at the point of power off
monitor: Re-log fan error on a power off In the case where a power off rule runs to completion and powers off the system due to either missing or faulted fans, at the point of power off re-post the event log for the previous fan error. This way, there can be an error associated with the power off, because depending on the power off rule delays the original error could have happened several minutes or more in the past. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I1a38062cf75ffd4a11baa417ef3983b6c1a47ada
show more ...
|
#
69b0cf08 |
| 14-Oct-2020 |
Matt Spinler <spinler@us.ibm.com> |
monitor: Create PowerOffAction class hierarchy The PowerOffAction base class and its derived classes will be used to power off a system due to fan failures. There are 3 types of
monitor: Create PowerOffAction class hierarchy The PowerOffAction base class and its derived classes will be used to power off a system due to fan failures. There are 3 types of power offs: 1. HardPowerOff - Do a hard power off after a delay 2. SoftPowerOff - Do a soft power off after a delay 3. EpowPowerOff - This isn't fully defined yet, but it will involve powering off after setting an early power off warning somehow and then waiting through 2 delays. The code that makes the D-Bus calls to do the power offs is in a standalone class so that it can be be mocked in testcases. This code also makes use of the Logger class for logging, so this commit brings that in as a singleton. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I83118963df4ec0b4f89619572f6935329eec3adb
show more ...
|