rcu: Remove event tracing from Tiny RCU
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 17 May 2017 17:17:03 +0000 (10:17 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 9 Jun 2017 01:52:45 +0000 (18:52 -0700)
This commit saves a few lines by getting rid of Tiny RCU's event tracing.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tiny.c

index 2306cab2195d93cd6ef08192147494cd677673f4..595cb1bf944f02158b72077b68a620d0adaa8f41 100644 (file)
@@ -35,7 +35,6 @@
 #include <linux/time.h>
 #include <linux/cpu.h>
 #include <linux/prefetch.h>
-#include <linux/trace_events.h>
 
 #include "rcu.h"
 
@@ -139,7 +138,6 @@ static void __rcu_process_callbacks(struct rcu_ctrlblk *rcp)
                local_irq_restore(flags);
                return;
        }
-       RCU_TRACE(trace_rcu_batch_start(rcp->name, 0, rcp->qlen, -1);)
        list = rcp->rcucblist;
        rcp->rcucblist = *rcp->donetail;
        *rcp->donetail = NULL;
@@ -161,10 +159,6 @@ static void __rcu_process_callbacks(struct rcu_ctrlblk *rcp)
                RCU_TRACE(cb_count++;)
        }
        RCU_TRACE(rcu_trace_sub_qlen(rcp, cb_count);)
-       RCU_TRACE(trace_rcu_batch_end(rcp->name,
-                                     cb_count, 0, need_resched(),
-                                     is_idle_task(current),
-                                     false));
 }
 
 static __latent_entropy void rcu_process_callbacks(struct softirq_action *unused)