Added Fabric RAS error support

fabric error counts are read from sysfs nodes

Related-To: LOCI-2613

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
This commit is contained in:
Joshua Santosh Ranjan
2021-12-03 15:23:55 +00:00
committed by Compute-Runtime-Automation
parent bba301015a
commit feae44bce8
2 changed files with 2 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class SysfsAccess : protected FsAccess {
ze_result_t write(const std::string file, std::vector<std::string> val);
MOCKABLE_VIRTUAL ze_result_t scanDirEntries(const std::string path, std::vector<std::string> &list);
ze_result_t readSymLink(const std::string path, std::string &buf) override;
MOCKABLE_VIRTUAL ze_result_t readSymLink(const std::string path, std::string &buf) override;
ze_result_t getRealPath(const std::string path, std::string &buf) override;
MOCKABLE_VIRTUAL ze_result_t bindDevice(const std::string device);
MOCKABLE_VIRTUAL ze_result_t unbindDevice(const std::string device);

View File

@ -12,4 +12,5 @@ if(UNIX)
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}mock_fs_ras.h
)
endif()
add_subdirectories()