Add core file name validation in core manager

Move the core file name validation from dreport to core manager.
systemd-coredump creates temporary file in core file path prior
to actual core file creation.
This check will help to limit dump creation only for the new core files.

Change-Id: I196d3f372d85aae0a7a36ba7171e6bfd2ff4991b
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
2 files changed
tree: b3c1b85ef2fb3273e18607d807d0c8b620fb9957
  1. tools/
  2. xyz/
  3. bootstrap.sh
  4. configure.ac
  5. core_manager.cpp
  6. core_manager.hpp
  7. core_manager_main.cpp
  8. dump_entry.cpp
  9. dump_entry.hpp
  10. dump_internal.hpp
  11. dump_manager.cpp
  12. dump_manager.hpp
  13. dump_manager_main.cpp
  14. dump_utils.hpp
  15. ffdc
  16. LICENSE
  17. Makefile.am
  18. README.md
  19. watch.cpp
  20. watch.hpp
README.md

phosphor-debug-collector

Phosphor Debug Collector provides mechanisms to collect various log files and system parameters. Used to troubleshoot problems in OpenBMC based systems.

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To clean the repository run `./bootstrap.sh clean`.