evdev: Log evdev event queue overflows
authorDerek Foreman <derekf@osg.samsung.com>
Wed, 29 Oct 2014 14:56:27 +0000 (09:56 -0500)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 31 Oct 2014 03:42:32 +0000 (13:42 +1000)
commit84d59fe8e61c3b5f1f17500b16fdd54e402a7015
tree8082ccaa525ce475c49d617708afb74fbf6f6208
parent2cef5a26cdfbc5aee70cd41738ea3db889353b64
evdev: Log evdev event queue overflows

Log a message when the kernel event queue overflows and events are dropped.
After 10 messages logging stops to avoid flooding the logs if the condition
is persistent.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev.c
src/evdev.h