blob: dab73c9251fe21af63de91361f346bfba9d52095 [file] [log] [blame]
Matt Spinlerdf13bdb2019-07-10 16:54:13 -05001#include "config.h"
2
3#include "paths.hpp"
4
5#include <filesystem>
6
7namespace openpower
8{
9namespace pels
10{
11
12namespace fs = std::filesystem;
13
14fs::path getPELIDFile()
15{
16 fs::path logIDPath{EXTENSION_PERSIST_DIR};
17 logIDPath /= fs::path{"pels"} / fs::path{"pelID"};
18 return logIDPath;
19}
20
21} // namespace pels
22
23} // namespace openpower