misc: kgdbts: Display progress of asynchronous tests
authorDaniel Thompson <daniel.thompson@linaro.org>
Tue, 12 Dec 2017 12:10:36 +0000 (12:10 +0000)
committerJason Wessel <jason.wessel@windriver.com>
Thu, 25 Jan 2018 14:40:17 +0000 (08:40 -0600)
commit0296c248b440fe0ae3f08c5c2fcded795c59353e
treee3911402a198946438e203a7d770c08f8c33fed7
parent5b7d27967dabfb17c21b0d98b29153b9e3ee71e5
misc: kgdbts: Display progress of asynchronous tests

kgdbts includes a couple of different "thrashing" style tests that
may have long runtimes (especially on simulated platforms) and which
run asynchronously. This is uncomfortable for interactive use and
makes setting timeouts tricky for automatic use.

Fix by providing a optional means to show progress during these tests.
Selecting 100 is somewhat arbitrary but it matches the step used on
the synchronous tests, is large enough to keep the call to printk
from invalidating the testing and is human enough to "feel about
right".

Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
drivers/misc/kgdbts.c