lkml.org 
[lkml]   [2017]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] tracing, rcu: Remove no longer used trace event rcu_prep_idle
On Thu, 12 Oct 2017 15:26:45 -0700
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com> wrote:

> On Thu, Oct 12, 2017 at 06:12:57PM -0400, Steven Rostedt wrote:
> > From: Steven Rostedt (VMware) <rostedt@goodmis.org>
> >
> > Commit c0f4dfd4f90 ("rcu: Make RCU_FAST_NO_HZ take advantage of
> > numbered callbacks") removed the only instances of trace_rcu_prep_idle,
> > but did not remove the TRACE_EVENT() that creates it. As defined trace
> > events take up memory within the kernel even when they are not used,
> > this is a waste of space. Remove the obsolete event.
> >
> > Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
>
> Good catch, queued for review and testing, thank you!
>
> Slight change in the context of the final hunk of the patch for -rcu,
> updated version shown below.

I now have a utility that complains when tracepoints are not used. But
I'm working on getting this to work at build time and not run time. In
the mean time, I might as well do some clean up ;-)

-- Steve

\
 
 \ /
  Last update: 2017-10-13 00:33    [W:0.054 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site