summaryrefslogtreecommitdiff
path: root/libudev/Makefile.am
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-07-08 02:04:49 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-07-08 02:04:49 +0200
commit871a36bd7e37a9d27e633b93ae0119a4553195ec (patch)
tree2bd56b520e33bb26f1182baf7bfc17baa4feda1f /libudev/Makefile.am
parenta71369b0db359cddeb207a317588b175630dcca8 (diff)
libudev: enumerate - sort with qsort()
On machines with many thousands of devices: $ time find /sys -name uevent | wc -l 74876 real 0m33.171s user 0m3.329s sys 0m29.719s the current udevtrigger spends minutes sorting the device list: $ time /sbin/udevadm trigger --dry-run real 4m56.739s user 4m45.743s sys 0m7.862s with qsort() it looks better: $ time udev/udevadm trigger --dry-run real 0m6.495s user 0m0.473s sys 0m5.923s
Diffstat (limited to 'libudev/Makefile.am')
-rw-r--r--libudev/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libudev/Makefile.am b/libudev/Makefile.am
index 3ed05a31e3..866a5ca135 100644
--- a/libudev/Makefile.am
+++ b/libudev/Makefile.am
@@ -29,7 +29,7 @@ libudev_la_SOURCES =\
libudev-queue.c
LT_CURRENT=4
-LT_REVISION=1
+LT_REVISION=2
LT_AGE=4
libudev_la_LDFLAGS = \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \