Re: [PATCH v2 16/29] ktap: add amalgamation build(kernel/trace/ktap/amalg.c)

2014-03-30 Thread Jovi Zhangwei
On Mon, Mar 31, 2014 at 10:17 AM, Li Zefan wrote: > On 2014/3/28 22:45, Jovi Zhangwei wrote: >> This compiles the ktapvm as one huge C file and allows >> GCC to generate faster and shorter code. >> >> No amalgamation build in x86_64: >> ktapvm.ko: 3.1M >> >> amalgamation build in x86_64: >> ktapvm

Re: [PATCH v2 16/29] ktap: add amalgamation build(kernel/trace/ktap/amalg.c)

2014-03-30 Thread Li Zefan
On 2014/3/28 22:45, Jovi Zhangwei wrote: > This compiles the ktapvm as one huge C file and allows > GCC to generate faster and shorter code. > > No amalgamation build in x86_64: > ktapvm.ko: 3.1M > > amalgamation build in x86_64: > ktapvm.ko: 1.1M > > User can set use amalgamation build or not i

[PATCH v2 16/29] ktap: add amalgamation build(kernel/trace/ktap/amalg.c)

2014-03-29 Thread Jovi Zhangwei
This compiles the ktapvm as one huge C file and allows GCC to generate faster and shorter code. No amalgamation build in x86_64: ktapvm.ko: 3.1M amalgamation build in x86_64: ktapvm.ko: 1.1M User can set use amalgamation build or not in Makefile. (Need to analyze further why have so big differe