Skip to content

Commit c23484f

Browse files
committed
rcu: Remove event tracing from Tiny RCU
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>
1 parent 43a0a2a commit c23484f

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎kernel/rcu/tiny.c‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#include <linux/time.h>
3636
#include <linux/cpu.h>
3737
#include <linux/prefetch.h>
38-
#include <linux/trace_events.h>
3938

4039
#include "rcu.h"
4140

@@ -139,7 +138,6 @@ static void __rcu_process_callbacks(struct rcu_ctrlblk *rcp)
139138
local_irq_restore(flags);
140139
return;
141140
}
142-
RCU_TRACE(trace_rcu_batch_start(rcp->name, 0, rcp->qlen, -1);)
143141
list = rcp->rcucblist;
144142
rcp->rcucblist = *rcp->donetail;
145143
*rcp->donetail = NULL;
@@ -161,10 +159,6 @@ static void __rcu_process_callbacks(struct rcu_ctrlblk *rcp)
161159
RCU_TRACE(cb_count++;)
162160
}
163161
RCU_TRACE(rcu_trace_sub_qlen(rcp, cb_count);)
164-
RCU_TRACE(trace_rcu_batch_end(rcp->name,
165-
cb_count, 0, need_resched(),
166-
is_idle_task(current),
167-
false));
168162
}
169163

170164
static __latent_entropy void rcu_process_callbacks(struct softirq_action *unused)

0 commit comments

Comments
 (0)