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