blob: 6adfef143ab07d7f8433ce518c8e83f8862212cd [file] [log] [blame]
#include "config.h"
#include "ramoops_manager.hpp"
#include <phosphor-logging/elog-errors.hpp>
#include <phosphor-logging/lg2.hpp>
int main()
{
std::filesystem::path filePath(SYSTEMD_PSTORE_PATH);
if (!std::filesystem::exists(filePath))
{
lg2::error("Pstore file path is not exists, FILE_PATH: {FILE_PATH}",
"FILE_PATH", filePath);
return EXIT_FAILURE;
}
phosphor::dump::ramoops::Manager manager(SYSTEMD_PSTORE_PATH);
return EXIT_SUCCESS;
}