diff options
author | Jayanth Othayoth <ojayanth@in.ibm.com> | 2017-07-20 02:17:37 -0500 |
---|---|---|
committer | Jayanth Othayoth <ojayanth@in.ibm.com> | 2017-07-27 21:35:36 -0500 |
commit | 430965989b55b7c39b0e11576e06971153a7540c (patch) | |
tree | c0cea5c7be956b43e35332595ea65485d4727ec3 /dump_manager.hpp | |
parent | 580cb2d4767ebd68c7cc90689dd7f818800dc046 (diff) | |
download | phosphor-debug-collector-430965989b55b7c39b0e11576e06971153a7540c.tar.gz phosphor-debug-collector-430965989b55b7c39b0e11576e06971153a7540c.zip |
Restore dump d-bus objects during daemon starts
Use the dump files in the persistant location to rebuild the
d-bus objects.
Change-Id: Ia7b478649274a4681c802e11be4b2049eeed8e13
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Diffstat (limited to 'dump_manager.hpp')
-rw-r--r-- | dump_manager.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dump_manager.hpp b/dump_manager.hpp index 003d9e4..ea1a5ba 100644 --- a/dump_manager.hpp +++ b/dump_manager.hpp @@ -87,6 +87,11 @@ class Manager : public CreateIface */ void watchCallback(const UserMap& fileInfo); + /** @brief Construct dump d-bus objects from their persisted + * representations. + */ + void restore(); + private: /** @brief Create Dump entry d-bus object * @param[in] fullPath - Full path of the Dump file name |