]> 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)
commit970fcacec7ef55cfa1f7cee6e9e1fab3305b244b
tree3c410c2c8cf6e66b06735167f0323dd3e4450a33
parent0dc9c3ace82d152acc723f93de28fe834767b202
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