lkml.org 
[lkml]   [2011]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC 0/4] tracing,x86_64 - function/graph trace without mcount/-pg/framepointer
From
Date
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




\
 
 \ /
  Last update: 2011-02-07 22:35    [W:0.040 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site