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)
commitf15d7114bbdd594f1d8b644a44f647d2b6e9772e
tree85b2543dbe2e04d13b87bdd523bd5cdb1b9df3a8
parentc13dcf9f2d6f5f06ef1bf79ec456df614c5e058b
Documentation/watchdog: add timeout and ping rate control to watchdog-test.c

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