chiark / gitweb /
unit: record inactive enter/exit timestamps to facilitate syslog lookups
[elogind.git] / dbus-unit.h
index 471f64cbe88045574855ec1bcfd302910cae4d99..db1716ea355ff3761ef12603b0f9fe6d8a0ebf07 100644 (file)
         "  <property name=\"ActiveState\" type=\"s\" access=\"read\"/>" \
         "  <property name=\"SubState\" type=\"s\" access=\"read\"/>"    \
         "  <property name=\"FragmentPath\" type=\"s\" access=\"read\"/>" \
+        "  <property name=\"InactiveExitTimestamp\" type=\"t\" access=\"read\"/>" \
         "  <property name=\"ActiveEnterTimestamp\" type=\"t\" access=\"read\"/>" \
         "  <property name=\"ActiveExitTimestamp\" type=\"t\" access=\"read\"/>" \
+        "  <property name=\"InactiveEnterTimestamp\" type=\"t\" access=\"read\"/>" \
         "  <property name=\"CanReload\" type=\"b\" access=\"read\"/>"   \
         "  <property name=\"CanStart\" type=\"b\" access=\"read\"/>"    \
         "  <property name=\"Job\" type=\"(uo)\" access=\"read\"/>"      \
         { "org.freedesktop.systemd1.Unit", "ActiveState",          bus_unit_append_active_state,   "s",    u                               }, \
         { "org.freedesktop.systemd1.Unit", "SubState",             bus_unit_append_sub_state,      "s",    u                               }, \
         { "org.freedesktop.systemd1.Unit", "FragmentPath",         bus_property_append_string,     "s",    u->meta.fragment_path           }, \
+        { "org.freedesktop.systemd1.Unit", "InactiveExitTimestamp",bus_property_append_uint64,     "t",    &u->meta.inactive_exit_timestamp}, \
         { "org.freedesktop.systemd1.Unit", "ActiveEnterTimestamp", bus_property_append_uint64,     "t",    &u->meta.active_enter_timestamp }, \
         { "org.freedesktop.systemd1.Unit", "ActiveExitTimestamp",  bus_property_append_uint64,     "t",    &u->meta.active_exit_timestamp  }, \
+        { "org.freedesktop.systemd1.Unit", "InActiveEnterTimestamp",bus_property_append_uint64,    "t",    &u->meta.inactive_enter_timestamp}, \
         { "org.freedesktop.systemd1.Unit", "CanStart",             bus_unit_append_can_start,      "b",    u                               }, \
         { "org.freedesktop.systemd1.Unit", "CanReload",            bus_unit_append_can_reload,     "b",    u                               }, \
         { "org.freedesktop.systemd1.Unit", "Job",                  bus_unit_append_job,            "(uo)", u                               }, \