Re: [PATCH 0/5] ftrace: to kill a daemon

From: Steven Rostedt
Date: Thu Aug 07 2008 - 17:36:08 EST



On Thu, 7 Aug 2008, Bodo Eggert wrote:

> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > The idea I came
> > up with was to make a tmp.s file for every object just after it is compiled.
>
> make -j would cause these files to overwrite each other, wouldn't it?

I simplified my explanation. I really used something like this:

for init/main.o:

init/.tmp_mc_main.s : for the list file
init/.tmp_mc_main.o : for the list compiled object.
init/.tmp_gl_main.o : for the object converted static to global.
init/.tmp_mx_main.o : for the merged list and global object.


The tmp.s was to keep the focus on the concept. But the actual
implementation handles multi-threaded builds.

I use distcc and build with -j40. I had no issues.

Thanks,

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/