From 12b096677c1fd9d90c496a807ac4555be211fc18 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 20 Jun 2023 19:11:02 +0000 Subject: More better debug info Signed-off-by: Laurent Bercot --- src/supervision/s6-svscan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/supervision/s6-svscan.c b/src/supervision/s6-svscan.c index 8f1665e..e687e29 100644 --- a/src/supervision/s6-svscan.c +++ b/src/supervision/s6-svscan.c @@ -363,7 +363,7 @@ static void reap (void) if (avltreen_search(by_pid, &pid, &i)) { service *sv = SERVICE(i) ; - LOLDEBUG("reap: pid %llu is service %u", (unsigned long long)pid, i) ; + LOLDEBUG("reap: pid %llu is service %u - %s", (unsigned long long)pid, i, NAME(i)) ; avltreen_delete(by_pid, &pid) ; sv->pid = 0 ; if (bitarray_peek(active, i)) tain_earliest1(&start_deadline, &sv->start) ; @@ -563,7 +563,7 @@ static int start_iter (void *data, void *aux) if (!bitarray_peek(active, i) || sv->pid || tain_future(&sv->start)) return 1 ; - LOLDEBUG("start: spawning %u", i) ; + LOLDEBUG("start: spawning %u - %s", i, NAME(i)) ; sv->pid = fork() ; switch (sv->pid) { -- cgit v1.2.3