Documentation/watchdog: add timeout and ping rate control to watchdog-test.c
authorTimur Tabi <timur@codeaurora.org>
Mon, 29 Jun 2015 16:46:17 +0000 (11:46 -0500)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 9 Sep 2015 19:33:36 +0000 (21:33 +0200)
The watchdog test program is much more useful if it can configure the
timeout value and ping rate.  This will allow you to test actual timeouts.

Adds the -t parameter to set the timeout value (in seconds), and -p to set
the ping rate (number of seconds between pings).

Signed-off-by: Timur Tabi <timur@codeaurora.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Documentation/watchdog/src/watchdog-test.c