summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/rcuperf.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2016-01-29 23:58:17 +0100
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2016-03-31 22:38:53 +0200
commitac2bb275e8e5abddb0815ff2b7aa383ed6d007a4 (patch)
treec9f879e07657c12b69995baf2850574872567326 /kernel/rcu/rcuperf.c
parentrcutorture: Print measure of batching efficiency (diff)
downloadlinux-ac2bb275e8e5abddb0815ff2b7aa383ed6d007a4.tar.xz
linux-ac2bb275e8e5abddb0815ff2b7aa383ed6d007a4.zip
rcutorture: Make rcuperf collect expedited event-trace data
This commit enables ftrace in the rcuperf TREE kernel build and adds an ftrace_dump() at the end of rcuperf processing. This data will be used to measure the actual durations of the expedited grace periods without the added delays inherent in the kernel-module measurements. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/rcuperf.c')
-rw-r--r--kernel/rcu/rcuperf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rcu/rcuperf.c b/kernel/rcu/rcuperf.c
index e18d016a9888..12561f96f0a2 100644
--- a/kernel/rcu/rcuperf.c
+++ b/kernel/rcu/rcuperf.c
@@ -404,6 +404,7 @@ rcu_perf_writer(void *arg)
perf_type, me, MIN_MEAS);
if (atomic_inc_return(&n_rcu_perf_writer_finished) >=
nrealwriters) {
+ rcu_ftrace_dump(DUMP_ALL);
PERFOUT_STRING("Test complete");
t_rcu_perf_writer_finished = t;
if (gp_exp) {