]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/utils/qemurunner.py: Fix HIGH CPU usage on LoggingThread
authorAníbal Limón <anibal.limon@linux.intel.com>
Tue, 22 Sep 2015 16:56:22 +0000 (11:56 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 22 Sep 2015 17:13:02 +0000 (18:13 +0100)
commit7b6c9b6327638c9731cea80a52d30d4a8fb6e081
tree0ffb8984df037f2872e3a0625438fe94ceab8cde
parent48cbde0ea77ed20126eceba5feb37c42a9229500
oeqa/utils/qemurunner.py: Fix HIGH CPU usage on LoggingThread

LoggingThread is used for receive console output from QEMU
over TCP, so add filter to only wake poll on read events,
also change the event mask variable name to be more descriptive.

This fixes HIGH CPU consume caused by wake on ready to write
events.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/qemurunner.py