[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1259936174.12870.155.camel@gandalf.stny.rr.com>
Date: Fri, 04 Dec 2009 09:16:14 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Jiri Olsa <jolsa@...hat.com>
Cc: mingo@...e.hu, fweisbec@...il.com, linux-kernel@...r.kernel.org,
jreiser@...wagon.com
Subject: Re: [RFC PATCH] tracing - moving some of recordmcount
functionality to binary
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists