Messages in this thread | | | Subject | Re: [RFC][PATCH] tracing/module: Move tracepoint out of module.h | From | Steven Rostedt <> | Date | Tue, 31 Jan 2012 07:50:30 -0500 |
| |
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
| |