summaryrefslogtreecommitdiff
path: root/libudev/test-libudev.c
AgeCommit message (Collapse)Author
2011-05-16libudev: device - use DEVMODE from kernel as the default modeKay Sievers
2011-04-17use 'else if' in epoll event array loopKay Sievers
2011-04-15libudev: test - use epollKay Sievers
2011-03-04test-libudev: add short optionsKay Sievers
2010-12-14libudev: enumerate - allow to filter-out not-already-initialized devicesKay Sievers
2010-05-27while (1) -> for (;;)Kay Sievers
2009-07-08libudev: enumerate - sort with qsort()Kay Sievers
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
2009-06-08libudev: move to top-level directoryKay Sievers