From: Kay Sievers Date: Tue, 9 Jun 2009 16:31:14 +0000 (+0200) Subject: udevd: log info for created/killed workers X-Git-Tag: 174~993 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12bc9c54f23a37b2dc1d2965ee452d76bd2b6a37;p=systemd udevd: log info for created/killed workers --- diff --git a/udev/udevd.c b/udev/udevd.c index e7a0c984..d63fa7f4 100644 --- a/udev/udevd.c +++ b/udev/udevd.c @@ -307,6 +307,7 @@ static void worker_new(struct event *event) event->state = EVENT_RUNNING; udev_list_node_append(&worker->node, &worker_list); childs++; + info(event->udev, "seq %llu forked new worker [%u]\n", udev_device_get_seqnum(event->dev), pid); break; } } @@ -701,6 +702,7 @@ static void handle_signal(struct udev *udev, int signo) udev_list_node_remove(&worker->node); worker_unref(worker); childs--; + info(udev, "worker [%u] exit\n", pid); break; } }