diff options
author | Zqiang <qiang.zhang1211@gmail.com> | 2024-03-29 12:52:45 +0800 |
---|---|---|
committer | Uladzislau Rezki (Sony) <urezki@gmail.com> | 2024-04-16 11:16:36 +0200 |
commit | 1c67318b3d72e63c51646cf26aa4425ed6f34bc5 (patch) | |
tree | 7c67e3ea041c0716ad9259c9b3714dbd7a96194a /tools/perf/scripts/python/stackcollapse.py | |
parent | 39988fdc126b5148f102fc2afbc9fd92d8249f53 (diff) |
rcutorture: Use rcu_gp_slow_register/unregister() only for rcutype test
The rcu_gp_slow_register/unregister() is only useful in tests where
torture_type=rcu, so this commit therefore generates ->gp_slow_register()
and ->gp_slow_unregister() function pointers in the rcu_torture_ops
structure, and slows grace periods only when these function pointers
exist.
Signed-off-by: Zqiang <qiang.zhang1211@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions