From 173e382182d7f1ad2b132b6e923ef731d6affdf7 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 14 May 2010 03:05:38 +0200 Subject: unit: record inactive enter/exit timestamps to facilitate syslog lookups --- dbus-unit.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dbus-unit.h') diff --git a/dbus-unit.h b/dbus-unit.h index 471f64cbe8..db1716ea35 100644 --- a/dbus-unit.h +++ b/dbus-unit.h @@ -52,8 +52,10 @@ " " \ " " \ " " \ + " " \ " " \ " " \ + " " \ " " \ " " \ " " \ @@ -71,8 +73,10 @@ { "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 }, \ -- cgit v1.2.3-54-g00ecf