chiark / gitweb /
unit: record inactive enter/exit timestamps to facilitate syslog lookups
[elogind.git] / unit.h
diff --git a/unit.h b/unit.h
index 5b76a59b790f5611a00c10ef6fe55f41715bf055..8f9d9e98601925f308277f0501f8f178ee1141c4 100644 (file)
--- a/unit.h
+++ b/unit.h
@@ -149,8 +149,10 @@ struct Meta {
          * the job for it */
         Job *job;
 
+        usec_t inactive_exit_timestamp;
         usec_t active_enter_timestamp;
         usec_t active_exit_timestamp;
+        usec_t inactive_enter_timestamp;
 
         /* Counterparts in the cgroup filesystem */
         CGroupBonding *cgroup_bondings;