commit | 20017150d229401edc9bbf33fa48ceba7f94db47 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Thu Jun 10 11:16:58 2021 +0930 |
committer | Andrew Jeffery <andrew@aj.id.au> | Thu Jun 10 12:06:35 2021 +0930 |
tree | 4aad3427ba18877a9475ee114091bfd4597ed973 | |
parent | 11cd254b9bdd04788df12a062fdc873e9ec4e60a [diff] |
meson: Improve maintainability of build options Exploit the array type for meson options to reduce the build system and recipe noise with respect to the trigger selection. Discussion on how this could be achieved occurred on the associated recipe patch: https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/42911 Suggested-by: Patrick Williams <patrick@stwcx.xyz> Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: Iaf38224047e24d10898063ee358e6f6164592001
debug-trigger
listens for an external signal that the BMC is in some way unresponsive. When the signal is received it triggers a crash to collect debug data and reboots the system in the hope that it will recover.
debug-trigger
implements a simple protocol over an LPC KCS device as its trigger source.
debug-trigger
implements a single action once the trigger event is received, which is to crash the kernel via /proc/sysrq-trigger
. For systems with kdump configured this results in collection of system state as context for why the system was externally unresponsive.