public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Does function_graph support x86_32?
@ 2010-03-17 14:45 Ryan Wang
  2010-03-18  0:56 ` Li Zefan
  0 siblings, 1 reply; 3+ messages in thread
From: Ryan Wang @ 2010-03-17 14:45 UTC (permalink / raw)
  To: linux-kernel

Does function_graph support x86_32?


thanks,

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Does function_graph support x86_32?
  2010-03-17 14:45 Does function_graph support x86_32? Ryan Wang
@ 2010-03-18  0:56 ` Li Zefan
  2010-03-20  3:00   ` Tim Bird
  0 siblings, 1 reply; 3+ messages in thread
From: Li Zefan @ 2010-03-18  0:56 UTC (permalink / raw)
  To: Ryan Wang; +Cc: linux-kernel

Ryan Wang wrote:
> Does function_graph support x86_32?
> 

Yes, but you need to disable CONFIG_CC_OPTIMIZE_FOR_SIZE

config FUNCTION_GRAPH_TRACER
        bool "Kernel Function Graph Tracer"
        depends on HAVE_FUNCTION_GRAPH_TRACER
        depends on FUNCTION_TRACER
        depends on !X86_32 || !CC_OPTIMIZE_FOR_SIZE


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Does function_graph support x86_32?
  2010-03-18  0:56 ` Li Zefan
@ 2010-03-20  3:00   ` Tim Bird
  0 siblings, 0 replies; 3+ messages in thread
From: Tim Bird @ 2010-03-20  3:00 UTC (permalink / raw)
  To: Li Zefan; +Cc: Ryan Wang, linux-kernel@vger.kernel.org

On 03/17/2010 05:56 PM, Li Zefan wrote:
> Ryan Wang wrote:
>> Does function_graph support x86_32?
>>
> 
> Yes, but you need to disable CONFIG_CC_OPTIMIZE_FOR_SIZE
> 
> config FUNCTION_GRAPH_TRACER
>         bool "Kernel Function Graph Tracer"
>         depends on HAVE_FUNCTION_GRAPH_TRACER
>         depends on FUNCTION_TRACER
>         depends on !X86_32 || !CC_OPTIMIZE_FOR_SIZE

I've been bitten by this numerous times.  I most often
use ftrace on ARM, but when I go back to x86, I almost
always go through a sequence of searching for the
function graph tracer in the menus, then realizing it's
completely missing until I disable CC_OPTIMIZE_FOR_SIZE.

Is there any way to have the menu item appear, but be
unsettable unless the SIZE option is disabled?  I'm
not a Kconfig guru...
 -- Tim

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Corporation of America
=============================


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-20  3:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-17 14:45 Does function_graph support x86_32? Ryan Wang
2010-03-18  0:56 ` Li Zefan
2010-03-20  3:00   ` Tim Bird

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox