blob: b73723018b474e4940439686260a1b5f39c4d22e [file] [log] [blame]
#include "config.h"
#include "ramoops_manager.hpp"
#include <phosphor-logging/elog-errors.hpp>
#include <phosphor-logging/lg2.hpp>
int main()
{
fs::path filePath(SYSTEMD_PSTORE_PATH);
if (!fs::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;
}