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>
This commit is contained in:
Paul E. McKenney
2016-01-29 14:58:17 -08:00
rodzic e588f35492
commit ac2bb275e8
2 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@@ -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) {