Re: [RFC PATCH] tracing - moving some of recordmcountfunctionality to binary

From: Steven Rostedt
Date: Fri Dec 04 2009 - 09:16:21 EST


On Fri, 2009-12-04 at 14:55 +0100, Jiri Olsa wrote:
> hi,
>
> I noticed on some discussion, that it might speedup the FTRACE build process,
> if some of the 'scripts/recordmcount.pl' functionality was done in binary,
> instead of in the script using nm/.objdump output.
>
>
> Before I dive into details, to sum it up:
> - i wrote tool which took over some of the 'recordmcount.pl' stuff
> - with 'allyesconfig' the build was faster about 2 minutes
>
> I'm not sure wether it's worth to continue in this effort,
> but I at least provide some details to have some enclosure.. :)

Actually, John Reiser sent me code a while back to convert the entire
shebang. I like that approach better. I actually just started looking at
it again recently.

The code will need libelf library, and may be arch specific (maybe not).
But if the current system can't compile it or use the binary, I was
going to have the make system default back to the perl script.

I rather keep the perl script intact, and just have an alternative
binary in case that doesn't work.

John,

I haven't touched the code (just dabbled with it). You can post it again
if you want, or I can if you can't find it.

-- 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/