summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-06-09 18:31:14 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-06-09 18:31:14 +0200
commit12bc9c54f23a37b2dc1d2965ee452d76bd2b6a37 (patch)
tree06245150ccf3d05949d5fa714e21fa4d35ed5276 /udev
parenta5710160377a85e7c78601e2c45049b392891436 (diff)
udevd: log info for created/killed workers
Diffstat (limited to 'udev')
-rw-r--r--udev/udevd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/udev/udevd.c b/udev/udevd.c
index e7a0c9840a..d63fa7f486 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;
}
}