diff --git a/system/system_monitor/include/system_monitor/hdd_monitor/hdd_monitor.hpp b/system/system_monitor/include/system_monitor/hdd_monitor/hdd_monitor.hpp index 2d7ed4f3b3aa9..3648a55e9fe2c 100644 --- a/system/system_monitor/include/system_monitor/hdd_monitor/hdd_monitor.hpp +++ b/system/system_monitor/include/system_monitor/hdd_monitor/hdd_monitor.hpp @@ -20,8 +20,9 @@ #ifndef SYSTEM_MONITOR__HDD_MONITOR__HDD_MONITOR_HPP_ #define SYSTEM_MONITOR__HDD_MONITOR__HDD_MONITOR_HPP_ +#include "system_monitor/hdd_reader/hdd_reader.hpp" + #include -#include #include #include diff --git a/system/system_monitor/include/hdd_reader/hdd_reader.hpp b/system/system_monitor/include/system_monitor/hdd_reader/hdd_reader.hpp similarity index 96% rename from system/system_monitor/include/hdd_reader/hdd_reader.hpp rename to system/system_monitor/include/system_monitor/hdd_reader/hdd_reader.hpp index a2cf8757a30f7..bb37290411c5d 100644 --- a/system/system_monitor/include/hdd_reader/hdd_reader.hpp +++ b/system/system_monitor/include/system_monitor/hdd_reader/hdd_reader.hpp @@ -17,8 +17,8 @@ * @brief HDD reader definitions */ -#ifndef HDD_READER__HDD_READER_HPP_ -#define HDD_READER__HDD_READER_HPP_ +#ifndef SYSTEM_MONITOR__HDD_READER__HDD_READER_HPP_ +#define SYSTEM_MONITOR__HDD_READER__HDD_READER_HPP_ #include #include @@ -135,4 +135,4 @@ struct UnmountDeviceInfo */ typedef std::map HddInfoList; -#endif // HDD_READER__HDD_READER_HPP_ +#endif // SYSTEM_MONITOR__HDD_READER__HDD_READER_HPP_ diff --git a/system/system_monitor/include/msr_reader/msr_reader.hpp b/system/system_monitor/include/system_monitor/msr_reader/msr_reader.hpp similarity index 90% rename from system/system_monitor/include/msr_reader/msr_reader.hpp rename to system/system_monitor/include/system_monitor/msr_reader/msr_reader.hpp index 650932891cc2f..4d8f8f49f47df 100644 --- a/system/system_monitor/include/msr_reader/msr_reader.hpp +++ b/system/system_monitor/include/system_monitor/msr_reader/msr_reader.hpp @@ -17,8 +17,8 @@ * @brief MSR reader definitions */ -#ifndef MSR_READER__MSR_READER_HPP_ -#define MSR_READER__MSR_READER_HPP_ +#ifndef SYSTEM_MONITOR__MSR_READER__MSR_READER_HPP_ +#define SYSTEM_MONITOR__MSR_READER__MSR_READER_HPP_ #include #include @@ -48,4 +48,4 @@ struct MSRInfo } }; -#endif // MSR_READER__MSR_READER_HPP_ +#endif // SYSTEM_MONITOR__MSR_READER__MSR_READER_HPP_ diff --git a/system/system_monitor/include/system_monitor/net_monitor/net_monitor.hpp b/system/system_monitor/include/system_monitor/net_monitor/net_monitor.hpp index ded9c398c6cd1..b1acac7c6ea78 100644 --- a/system/system_monitor/include/system_monitor/net_monitor/net_monitor.hpp +++ b/system/system_monitor/include/system_monitor/net_monitor/net_monitor.hpp @@ -21,7 +21,7 @@ #define SYSTEM_MONITOR__NET_MONITOR__NET_MONITOR_HPP_ #include "system_monitor/net_monitor/nl80211.hpp" -#include "traffic_reader/traffic_reader_common.hpp" +#include "system_monitor/traffic_reader/traffic_reader_common.hpp" #include diff --git a/system/system_monitor/include/traffic_reader/traffic_reader_common.hpp b/system/system_monitor/include/system_monitor/traffic_reader/traffic_reader_common.hpp similarity index 89% rename from system/system_monitor/include/traffic_reader/traffic_reader_common.hpp rename to system/system_monitor/include/system_monitor/traffic_reader/traffic_reader_common.hpp index 9d84072a42fc3..187df18735575 100644 --- a/system/system_monitor/include/traffic_reader/traffic_reader_common.hpp +++ b/system/system_monitor/include/system_monitor/traffic_reader/traffic_reader_common.hpp @@ -17,8 +17,8 @@ * @brief traffic reader definitions */ -#ifndef TRAFFIC_READER__TRAFFIC_READER_COMMON_HPP_ -#define TRAFFIC_READER__TRAFFIC_READER_COMMON_HPP_ +#ifndef SYSTEM_MONITOR__TRAFFIC_READER__TRAFFIC_READER_COMMON_HPP_ +#define SYSTEM_MONITOR__TRAFFIC_READER__TRAFFIC_READER_COMMON_HPP_ #include #include @@ -64,4 +64,4 @@ struct Result } // namespace traffic_reader_service -#endif // TRAFFIC_READER__TRAFFIC_READER_COMMON_HPP_ +#endif // SYSTEM_MONITOR__TRAFFIC_READER__TRAFFIC_READER_COMMON_HPP_ diff --git a/system/system_monitor/include/traffic_reader/traffic_reader_service.hpp b/system/system_monitor/include/system_monitor/traffic_reader/traffic_reader_service.hpp similarity index 91% rename from system/system_monitor/include/traffic_reader/traffic_reader_service.hpp rename to system/system_monitor/include/system_monitor/traffic_reader/traffic_reader_service.hpp index a66d0b121ed46..0da67d95705ae 100644 --- a/system/system_monitor/include/traffic_reader/traffic_reader_service.hpp +++ b/system/system_monitor/include/system_monitor/traffic_reader/traffic_reader_service.hpp @@ -12,10 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef TRAFFIC_READER__TRAFFIC_READER_SERVICE_HPP_ -#define TRAFFIC_READER__TRAFFIC_READER_SERVICE_HPP_ +#ifndef SYSTEM_MONITOR__TRAFFIC_READER__TRAFFIC_READER_SERVICE_HPP_ +#define SYSTEM_MONITOR__TRAFFIC_READER__TRAFFIC_READER_SERVICE_HPP_ -#include "traffic_reader/traffic_reader_common.hpp" +#include "system_monitor/traffic_reader/traffic_reader_common.hpp" #include #include @@ -107,4 +107,4 @@ class TrafficReaderService } // namespace traffic_reader_service -#endif // TRAFFIC_READER__TRAFFIC_READER_SERVICE_HPP_ +#endif // SYSTEM_MONITOR__TRAFFIC_READER__TRAFFIC_READER_SERVICE_HPP_ diff --git a/system/system_monitor/reader/hdd_reader/hdd_reader.cpp b/system/system_monitor/reader/hdd_reader/hdd_reader.cpp index 6053c183eda4d..f12e34c8aca46 100644 --- a/system/system_monitor/reader/hdd_reader/hdd_reader.cpp +++ b/system/system_monitor/reader/hdd_reader/hdd_reader.cpp @@ -17,7 +17,7 @@ * @brief HDD information read class */ -#include +#include "system_monitor/hdd_reader/hdd_reader.hpp" #include #include diff --git a/system/system_monitor/reader/msr_reader/msr_reader.cpp b/system/system_monitor/reader/msr_reader/msr_reader.cpp index 17bbfd20a7667..16f8fe9b93477 100644 --- a/system/system_monitor/reader/msr_reader/msr_reader.cpp +++ b/system/system_monitor/reader/msr_reader/msr_reader.cpp @@ -17,7 +17,7 @@ * @brief MSR read class */ -#include +#include "system_monitor/msr_reader/msr_reader.hpp" #include #include diff --git a/system/system_monitor/reader/traffic_reader/traffic_reader_main.cpp b/system/system_monitor/reader/traffic_reader/traffic_reader_main.cpp index 0af3b0d89d312..940afdd9e5c35 100644 --- a/system/system_monitor/reader/traffic_reader/traffic_reader_main.cpp +++ b/system/system_monitor/reader/traffic_reader/traffic_reader_main.cpp @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -#include +#include "system_monitor/traffic_reader/traffic_reader_service.hpp" #include #include diff --git a/system/system_monitor/reader/traffic_reader/traffic_reader_service.cpp b/system/system_monitor/reader/traffic_reader/traffic_reader_service.cpp index 592ce515f9a1f..836c4b509ffa7 100644 --- a/system/system_monitor/reader/traffic_reader/traffic_reader_service.cpp +++ b/system/system_monitor/reader/traffic_reader/traffic_reader_service.cpp @@ -17,7 +17,7 @@ * @brief traffic information read class */ -#include +#include "system_monitor/traffic_reader/traffic_reader_service.hpp" #include #include diff --git a/system/system_monitor/src/cpu_monitor/intel_cpu_monitor.cpp b/system/system_monitor/src/cpu_monitor/intel_cpu_monitor.cpp index 3cc7b5f5c629c..e78d49b55a3df 100644 --- a/system/system_monitor/src/cpu_monitor/intel_cpu_monitor.cpp +++ b/system/system_monitor/src/cpu_monitor/intel_cpu_monitor.cpp @@ -19,10 +19,9 @@ #include "system_monitor/cpu_monitor/intel_cpu_monitor.hpp" +#include "system_monitor/msr_reader/msr_reader.hpp" #include "system_monitor/system_monitor_utility.hpp" -#include - #include #include #include diff --git a/system/system_monitor/src/hdd_monitor/hdd_monitor.cpp b/system/system_monitor/src/hdd_monitor/hdd_monitor.cpp index 91f48047a2142..c57aea81d410d 100644 --- a/system/system_monitor/src/hdd_monitor/hdd_monitor.cpp +++ b/system/system_monitor/src/hdd_monitor/hdd_monitor.cpp @@ -19,10 +19,9 @@ #include "system_monitor/hdd_monitor/hdd_monitor.hpp" +#include "system_monitor/hdd_reader/hdd_reader.hpp" #include "system_monitor/system_monitor_utility.hpp" -#include - #include #include #include diff --git a/system/system_monitor/src/net_monitor/net_monitor.cpp b/system/system_monitor/src/net_monitor/net_monitor.cpp index 07f0a6833ca16..c8775e585765e 100644 --- a/system/system_monitor/src/net_monitor/net_monitor.cpp +++ b/system/system_monitor/src/net_monitor/net_monitor.cpp @@ -20,8 +20,7 @@ #include "system_monitor/net_monitor/net_monitor.hpp" #include "system_monitor/system_monitor_utility.hpp" - -#include +#include "system_monitor/traffic_reader/traffic_reader_common.hpp" #include #include diff --git a/system/system_monitor/src/voltage_monitor/voltage_monitor.cpp b/system/system_monitor/src/voltage_monitor/voltage_monitor.cpp index a8ede38bc52cd..fda75c21535cf 100644 --- a/system/system_monitor/src/voltage_monitor/voltage_monitor.cpp +++ b/system/system_monitor/src/voltage_monitor/voltage_monitor.cpp @@ -19,10 +19,9 @@ #include "system_monitor/voltage_monitor/voltage_monitor.hpp" +#include "system_monitor/msr_reader/msr_reader.hpp" #include "system_monitor/system_monitor_utility.hpp" -#include - #include #include #include diff --git a/system/system_monitor/test/src/cpu_monitor/test_intel_cpu_monitor.cpp b/system/system_monitor/test/src/cpu_monitor/test_intel_cpu_monitor.cpp index c6ab5de8771a4..0f321efe5c311 100644 --- a/system/system_monitor/test/src/cpu_monitor/test_intel_cpu_monitor.cpp +++ b/system/system_monitor/test/src/cpu_monitor/test_intel_cpu_monitor.cpp @@ -13,8 +13,8 @@ // limitations under the License. #include "system_monitor/cpu_monitor/intel_cpu_monitor.hpp" +#include "system_monitor/msr_reader/msr_reader.hpp" -#include #include #include diff --git a/system/system_monitor/test/src/hdd_monitor/test_hdd_monitor.cpp b/system/system_monitor/test/src/hdd_monitor/test_hdd_monitor.cpp index 375ac6083fe99..4a948029a2f3a 100644 --- a/system/system_monitor/test/src/hdd_monitor/test_hdd_monitor.cpp +++ b/system/system_monitor/test/src/hdd_monitor/test_hdd_monitor.cpp @@ -13,8 +13,8 @@ // limitations under the License. #include "system_monitor/hdd_monitor/hdd_monitor.hpp" +#include "system_monitor/hdd_reader/hdd_reader.hpp" -#include #include #include