aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2020-11-16 16:46:06 -0800
committerPaul E. McKenney <[email protected]>2021-01-06 17:17:10 -0800
commit18fbf307b7319af3725c36e16af6ae9f35a8699c (patch)
tree5fbed42b404e2c2bb4e8c04e9374689fb3ebf02b /tools/perf/scripts/python/exported-sql-viewer.py
parent12a910e3cd3d11e00b2a2df24ea995ffa3e27ae5 (diff)
rcutorture: Make synctype[] and nsynctype be static global
Full testing of the new SRCU polling API requires that the fake writers also use it in order to test concurrent calls to all of the API members, especially start_poll_synchronize_srcu(). This commit prepares the ground for this by making the synctype[] and nsynctype variables be static globals so that the rcu_torture_fakewriter() function can access them. Initialization of these variables is moved from rcu_torture_writer() to a new rcu_torture_write_types() function that is invoked from rcu_torture_init() just before the first writer kthread is spawned. Link: https://lore.kernel.org/rcu/[email protected]/ Reported-by: Kent Overstreet <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions