diff options
author | Tom Gundersen <teg@jklm.no> | 2015-04-29 16:05:32 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-04-29 17:08:31 +0200 |
commit | 7dfbe2e3fc0215b49d8202a32beb6b1aae08c4e4 (patch) | |
tree | a4916772973c4a6053f5eec7492b273304e473e5 /src/core/job.c | |
parent | 77cfd1139cd116e9761aacfaf8c3cde71fc5d058 (diff) |
core: annotate event sources
Diffstat (limited to 'src/core/job.c')
-rw-r--r-- | src/core/job.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/job.c b/src/core/job.c index e92e24e44a..a26f7de450 100644 --- a/src/core/job.c +++ b/src/core/job.c @@ -934,6 +934,8 @@ int job_start_timer(Job *j) { if (r < 0) return r; + (void) sd_event_source_set_description(j->timer_event_source, "job-start"); + return 0; } @@ -1130,6 +1132,8 @@ int job_coldplug(Job *j) { if (r < 0) log_debug_errno(r, "Failed to restart timeout for job: %m"); + (void) sd_event_source_set_description(j->timer_event_source, "job-timeout"); + return r; } |