1ff92ffe2SGeorge Liu #include "config.h"
2ff92ffe2SGeorge Liu 
3ff92ffe2SGeorge Liu #include "ramoops_manager.hpp"
4ff92ffe2SGeorge Liu 
5ff92ffe2SGeorge Liu #include <phosphor-logging/elog-errors.hpp>
6*d1f670feSDhruvaraj Subhashchandran #include <phosphor-logging/lg2.hpp>
7ff92ffe2SGeorge Liu 
main()8ff92ffe2SGeorge Liu int main()
9ff92ffe2SGeorge Liu {
10ff92ffe2SGeorge Liu     fs::path filePath(SYSTEMD_PSTORE_PATH);
11ff92ffe2SGeorge Liu     if (!fs::exists(filePath))
12ff92ffe2SGeorge Liu     {
13*d1f670feSDhruvaraj Subhashchandran         lg2::error("Pstore file path is not exists, FILE_PATH: {FILE_PATH}",
14*d1f670feSDhruvaraj Subhashchandran                    "FILE_PATH", filePath);
15ff92ffe2SGeorge Liu         return EXIT_FAILURE;
16ff92ffe2SGeorge Liu     }
17ff92ffe2SGeorge Liu 
18ff92ffe2SGeorge Liu     phosphor::dump::ramoops::Manager manager(SYSTEMD_PSTORE_PATH);
19ff92ffe2SGeorge Liu 
20ff92ffe2SGeorge Liu     return EXIT_SUCCESS;
21ff92ffe2SGeorge Liu }
22