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.

Google-Bug-Id: 559785933
Tested: https://paste.googleplex.com/6159609547587584
Fusion-Link: https://fusion2.corp.google.com/482dee38-f2d0-3405-b3ce-e2f7628384e7 (platform15)
Fusion-Link: https://fusion2.corp.google.com/366ab6bc-d078-3333-8edb-ff3a0aa4b346 (platform18)
Fusion-Link: https://fusion2.corp.google.com/93913499-bb38-35d6-876d-8ad1e295cc9f (platform17)
Fusion-Link: https://fusion2.corp.google.com/56afda78-0594-3ef9-af9b-dfca3911dc56 (platform11)
Fusion-Link: https://fusion2.corp.google.com/ec6640aa-0a02-3891-b926-93d68e110f02 (platform11-emr)
Change-Id: I9d55c3934c9f60b3be01686aa9413bfe9684249e
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2 files changed
tree: f1e3743b1a3be6d596a05e9e5f45e1b3b26ef3da
  1. classes/
  2. conf/
  3. dynamic-layers/
  4. recipes-benchmark/
  5. recipes-bsp/
  6. recipes-connectivity/
  7. recipes-core/
  8. recipes-devtools/
  9. recipes-extended/
  10. recipes-google/
  11. recipes-kernel/
  12. recipes-phosphor/
  13. recipes-support/
  14. recipes-tpm1/
  15. recipes-tpm2/
  16. recipes-x86/
  17. LICENSE
  18. 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.