diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-29 17:32:13 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-29 17:32:13 +0100 |
commit | 0bc74ea79f68a89c5ec4bf5676dede97626ceade (patch) | |
tree | cf99f62c44a700a378e10bd679c7a6a220c2a796 /udev/udev-event.c | |
parent | 6270756cdca967adce6badaf1360d872a0907bf0 (diff) |
udevd: merge exec and run queue to minimize devpath string compares
Diffstat (limited to 'udev/udev-event.c')
-rw-r--r-- | udev/udev-event.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/udev/udev-event.c b/udev/udev-event.c index 02c5c99dc1..79a4cde651 100644 --- a/udev/udev-event.c +++ b/udev/udev-event.c @@ -706,6 +706,11 @@ int udev_event_execute_run(struct udev_event *event) util_strlcpy(program, cmd, sizeof(program)); udev_event_apply_format(event, program, sizeof(program)); + if (event->trace) + printf("run %s (%llu) '%s'\n", + udev_device_get_syspath(event->dev), + udev_device_get_seqnum(event->dev), + program); envp = udev_device_get_properties_envp(event->dev); if (util_run_program(event->udev, program, envp, NULL, 0, NULL) != 0) { if (!udev_list_entry_get_flag(list_entry)) |