From 12bc9c54f23a37b2dc1d2965ee452d76bd2b6a37 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 9 Jun 2009 18:31:14 +0200 Subject: [PATCH] udevd: log info for created/killed workers --- udev/udevd.c | 2 ++ 1 file changed, 2 insertions(+) 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; } } -- 2.39.5