phosphor-debug-collector: Add DumpPrefix property to faultlog dump entry

Add support for the optional DumpPrefix parameter in FaultLog
CreateDump requests. Parse and validate DumpPrefix in
Manager::getAndCheckCreateDumpParams(), throwing InvalidArgument if the
parameter is not a string, and pass it to faultlog::Entry to populate
the D-Bus DumpPrefix property.

Platforms-Affected: All
Google-Bug-Id: 559785933
Tested: https://paste.googleplex.com/6159609547587584
Fusion-Link: fusion2 n/a this is not tested by fusion
Change-Id: I9d55c3934c9f60b3be01686aa9413bfe9684249e
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2 files changed
tree: 60eaf5919c49f6dfd7c1908ed9e14f9717b62b9a
  1. classes/
  2. conf/
  3. dynamic-layers/
  4. recipes-bsp/
  5. recipes-connectivity/
  6. recipes-core/
  7. recipes-devtools/
  8. recipes-extended/
  9. recipes-google/
  10. recipes-kernel/
  11. recipes-phosphor/
  12. recipes-support/
  13. recipes-tpm1/
  14. recipes-tpm2/
  15. LICENSE
  16. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.