mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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: Paul E. McKenney <[email protected]>
This commit is contained in:
parent
c51d7b5e6c
commit
73d665b141
1 changed files with 2 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue