summaryrefslogtreecommitdiff
path: root/src/daemon/dlt-daemon.h
diff options
context:
space:
mode:
authorLassi Marttala <lassi.lm.marttala@partner.bmw.de>2012-12-04 14:15:09 +0100
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2013-07-19 16:54:07 +0200
commit6175c285e7c21be9bf358fa8f3a9289355c27d34 (patch)
tree1154a2943e2ff4c0719495da1e690f10472b909a /src/daemon/dlt-daemon.h
parentbe9c3bf964295883ff086dfb8c2ece38f833b355 (diff)
downloadDLT-daemon-6175c285e7c21be9bf358fa8f3a9289355c27d34.tar.gz
Watchdog: Watch the main thread.
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'src/daemon/dlt-daemon.h')
-rwxr-xr-xsrc/daemon/dlt-daemon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/daemon/dlt-daemon.h b/src/daemon/dlt-daemon.h
index aa8c372..e78f40d 100755
--- a/src/daemon/dlt-daemon.h
+++ b/src/daemon/dlt-daemon.h
@@ -73,6 +73,7 @@
#include <dlt_offline_trace.h>
+#include <sys/time.h>
/**
@@ -130,6 +131,9 @@ typedef struct
DltShm dlt_shm; /**< Shared memory handling */
#endif
DltOfflineTrace offlineTrace; /**< Offline trace handling */
+#if defined(DLT_SYSTEMD_WATCHDOG_ENABLE)
+ struct timeval lastOperationTime;
+#endif
} DltDaemonLocal;
typedef struct