]> git.baikalelectronics.ru Git - kernel.git/commit
ntb_perf: Return results by reading the run file
authorLogan Gunthorpe <logang@deltatee.com>
Mon, 20 Jun 2016 19:15:06 +0000 (13:15 -0600)
committerJon Mason <jdmason@kudzu.us>
Fri, 5 Aug 2016 14:21:07 +0000 (10:21 -0400)
commit58fd0f3b1539a5bad451a823c9d039ea23387b23
tree3c410c2c8cf6e66b06735167f0323dd3e4450a33
parentda573eaa3a13f60efafcbe25e4f4465cf1a1b40b
ntb_perf: Return results by reading the run file

Instead of having to watch logs, allow the results to be retrieved
by reading back the run file. This file will return "running" when
the test is running and nothing if no tests have been run yet.
It returns 1 line per thread, and will display an error message if the
corresponding thread returns an error.

With the above change, the pr_info calls that returned the results are
then changed to pr_debug calls.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/test/ntb_perf.c