Add hardware dump entry interface and type
Hardware dumps get collected during a critical
failure on the hardware units like processor
chips.
This commits add following:
- The interface for hardware dump entry.
- Updated the arguments list with following
- Hardware: A new dump type to list of supported
dumps
- FailingUnitId: Id of the hardware unit failed
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: Id209cca5d4ff167d21c45c752a687280aa469830
diff --git a/gen/com/ibm/Dump/Entry/meson.build b/gen/com/ibm/Dump/Entry/meson.build
index 1ec6118..716414a 100644
--- a/gen/com/ibm/Dump/Entry/meson.build
+++ b/gen/com/ibm/Dump/Entry/meson.build
@@ -1,4 +1,18 @@
# Generated file; do not modify.
+subdir('Hardware')
+generated_others += custom_target(
+ 'com/ibm/Dump/Entry/Hardware__markdown'.underscorify(),
+ input: [ '../../../../../yaml/com/ibm/Dump/Entry/Hardware.interface.yaml', ],
+ output: [ 'Hardware.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.current_source_dir() / '../../../../../yaml',
+ 'com/ibm/Dump/Entry/Hardware',
+ ],
+)
+
subdir('Hostboot')
generated_others += custom_target(
'com/ibm/Dump/Entry/Hostboot__markdown'.underscorify(),