lkml.org 
[lkml]   [2012]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH] tracing/module: Move tracepoint out of module.h
From
Date
On Tue, 2012-01-31 at 13:20 +0100, Ingo Molnar wrote:

> > Saves only 400 bytes of text here, but I don't do preempt or
> > tracepoints.
>
> Most distro kernels do tracepoints so I guess that's where the
> size delta comes from :-) In any case:

Yes, having tracepoints inlined causes a lot of bloat. But I still did
get a 1799 bytes savings between moving the tracepoint out of line but
keeping the if, and totally moving the entire functions out of line. Not
sure what the discrepancy was there.

My last set of numbers came from the default 3.0.0 Debian config, which
probably adds more things that call these functions into the kernel
proper?

But anway, I think this bike shed is complete ;-)

>
> Acked-by: Ingo Molnar <mingo@elte.hu>

Acked-by: Steven Rostedt <rostedt@goodmis.org>

-- Steve




\
 
 \ /
  Last update: 2012-01-31 13:53    [W:0.155 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site