Skip to content

Commit 20cee0b

Browse files
paulmckrcuNeeraj Upadhyay
authored andcommitted
rcutorture: Make rcu_torture_write_types() print number of update types
This commit follows the list of update types with their count, resulting in console output like this: rcu_torture_write_types: Testing conditional GPs. rcu_torture_write_types: Testing conditional expedited GPs. rcu_torture_write_types: Testing conditional full-state GPs. rcu_torture_write_types: Testing expedited GPs. rcu_torture_write_types: Testing asynchronous GPs. rcu_torture_write_types: Testing polling GPs. rcu_torture_write_types: Testing polling full-state GPs. rcu_torture_write_types: Testing polling expedited GPs. rcu_torture_write_types: Testing polling full-state expedited GPs. rcu_torture_write_types: Testing normal GPs. rcu_torture_write_types: Testing 10 update types This commit adds the final line giving the count. Signed-off-by: Paul E. McKenney <[email protected]> Signed-off-by: Neeraj Upadhyay <[email protected]>
1 parent dc86460 commit 20cee0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/rcu/rcutorture.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,6 +1324,7 @@ static void rcu_torture_write_types(void)
13241324
} else if (gp_sync && !cur_ops->sync) {
13251325
pr_alert("%s: gp_sync without primitives.\n", __func__);
13261326
}
1327+
pr_alert("%s: Testing %d update types.\n", __func__, nsynctypes);
13271328
}
13281329

13291330
/*

0 commit comments

Comments
 (0)