summaryrefslogtreecommitdiff
path: root/src/common/HPMDataCheck.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-03-14 01:26:28 +0100
committerHaru <haru@dotalux.com>2016-07-12 20:58:43 +0200
commitb0a4a441f582810c91aeec458fdbe7cc6cc78db9 (patch)
tree5ff3c893d02984f5797b03c40b466970bce35a5b /src/common/HPMDataCheck.h
parentc4a3a3f59e5720b300077c3d34aa7f4ecdd76400 (diff)
downloadhercules-b0a4a441f582810c91aeec458fdbe7cc6cc78db9.tar.gz
hercules-b0a4a441f582810c91aeec458fdbe7cc6cc78db9.tar.bz2
hercules-b0a4a441f582810c91aeec458fdbe7cc6cc78db9.tar.xz
hercules-b0a4a441f582810c91aeec458fdbe7cc6cc78db9.zip
HPM Hooks Update
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/HPMDataCheck.h')
-rw-r--r--src/common/HPMDataCheck.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/common/HPMDataCheck.h b/src/common/HPMDataCheck.h
index 8045b745f..55ea1e1b9 100644
--- a/src/common/HPMDataCheck.h
+++ b/src/common/HPMDataCheck.h
@@ -246,7 +246,7 @@ HPExport const struct s_HPMDataCheck HPMDataCheck[] = {
#define COMMON_SOCKET_H
#endif // COMMON_SOCKET_H
#ifdef COMMON_SPINLOCK_H
- { "SPIN_LOCK", sizeof(struct SPIN_LOCK), SERVER_TYPE_ALL },
+ { "spin_lock", sizeof(struct spin_lock), SERVER_TYPE_ALL },
#else
#define COMMON_SPINLOCK_H
#endif // COMMON_SPINLOCK_H
@@ -269,6 +269,11 @@ HPExport const struct s_HPMDataCheck HPMDataCheck[] = {
#else
#define COMMON_SYSINFO_H
#endif // COMMON_SYSINFO_H
+ #ifdef COMMON_THREAD_H
+ { "thread_interface", sizeof(struct thread_interface), SERVER_TYPE_ALL },
+ #else
+ #define COMMON_THREAD_H
+ #endif // COMMON_THREAD_H
#ifdef COMMON_TIMER_H
{ "TimerData", sizeof(struct TimerData), SERVER_TYPE_ALL },
{ "timer_interface", sizeof(struct timer_interface), SERVER_TYPE_ALL },