diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2023-07-19 12:03:20 -0700 |
---|---|---|
committer | Frederic Weisbecker <frederic@kernel.org> | 2023-09-24 17:24:01 +0200 |
commit | d0b654e19a83840e11d6ba87ea0be30e5fae343a (patch) | |
tree | 239a2da01cbb7e84227d3e7eed3e04fa8eff38d6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff) |
torture: Share torture_random_state with torture_shuffle_tasks()
Both torture_shuffle_tasks() and its caller torture_shuffle()
define a torture_random_state structure. This is suboptimal given
that torture_shuffle_tasks() runs for a very short period of time.
This commit therefore causes torture_shuffle() to pass a pointer to its
torture_random_state structure down to torture_shuffle_tasks().
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions