Re: [RFC 0/4] tracing,x86_64 - function/graph trace withoutmcount/-pg/framepointer

From: Steven Rostedt
Date: Mon Feb 07 2011 - 16:32:55 EST


On Mon, 2011-02-07 at 13:22 -0800, Josh Triplett wrote:

> GCC 4.6 may help here. According to
> http://gcc.gnu.org/gcc-4.6/changes.html:
>
> "Support for emitting profiler counter calls before function prologues.
> This is enabled via a new command-line option -mfentry."
>
> Looks like that option might only support x86 (32-bit and 64-bit) at the
> moment, but it still seems like an improvement over the current
> mechanism to work around GCC's placement of mcount.
>

I may need to download this and try it out.

Thanks for the reference!

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