Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73d665b1 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcutorture: Print forward-progress test age upon failure



This commit prints the age of the forward-progress test in jiffies,
in order to allow better interpretation of the callback-invocation
histograms.

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent c51d7b5e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1639,7 +1639,8 @@ static void rcu_torture_fwd_cb_hist(void)
	for (i = ARRAY_SIZE(n_launders_hist) - 1; i > 0; i--)
		if (n_launders_hist[i] > 0)
			break;
	pr_alert("%s: Callback-invocation histogram:", __func__);
	pr_alert("%s: Callback-invocation histogram (duration %lu jiffies):",
		 __func__, jiffies - rcu_fwd_startat);
	for (j = 0; j <= i; j++)
		pr_cont(" %ds: %ld", j + 1, n_launders_hist[j]);
	pr_cont("\n");