dreport: Collect journal log in case PID is not present

dreport uses PID information from the elog or core file to
collect PID based journal logs as part the BMC dump.
Existing dreport skips journal log collection in case PID
information is missing in the elog or core file.

Proposed changes help to collect the last 500 journal entries when
the PID is not present in the elog entry or core file.

Resolves openbmc/openbmc#2716

Change-Id: Ib3d8dfea64ea17f4b020b429267294c36530848b
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
2 files changed
tree: d351cc2a090ec631d7082f8dbcce8d4c4c4c9e7b
  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_serialize.cpp
  15. dump_serialize.hpp
  16. dump_utils.hpp
  17. elog_watch.cpp
  18. elog_watch.hpp
  19. ffdc
  20. LICENSE
  21. Makefile.am
  22. README.md
  23. watch.cpp
  24. 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`.