dumpheader: Add default serial number in the header

Whenever the serialNo is empty, use a default serial
number (all zeroes) so that scripts/apps that decode
the dump header would not throw errors.

Use fetch_serial_number() so that default serialNo
gets populated whenever the serialNo is empty.

Verified that the default serial number is utilized.

Change-Id: I0d9a8cc9e257ed0a852aaca5e6cb0c1833abd41e
Signed-off-by: Gopichand Paturi <gopichandpaturi@gmail.com>
1 file changed
tree: 281202c7d18db9d2a44783e95823b2a6243a5e20
  1. dump/
  2. subprojects/
  3. watchdog/
  4. .clang-format
  5. .gitignore
  6. .shellcheck-ignore
  7. checkstop_app.cpp
  8. LICENSE
  9. meson.build
  10. meson.options
  11. OWNERS
  12. README.md
  13. watchdog_timeout.cpp
README.md

openpower-debug-collector

Building the Code

To build this package, do the following steps:

    1. meson build
    2. ninja -C build

To clean the repository run `rm -rf build`.