Re: RFC: How to handle function tracing, frame pointers and -mfentry?

From: H. Peter Anvin
Date: Fri Apr 27 2012 - 17:12:03 EST


On 04/27/2012 01:57 PM, Steven Rostedt wrote:
>>
>> Except it is the wrong thing. This is not the only user of frame
>> pointer. What I think you mean is remove the dependency in Kconfig, but
>> force the frame pointer enabled if -mfentry is not supported.
>
> You mean option 3?
>
> 3) Add frame pointers silently if gcc fails to build with gcc -pg.
>

Yes, your option 3.

-hypa

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