lkml.org 
[lkml]   [2010]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Does function_graph support x86_32?
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
=============================



\
 
 \ /
  Last update: 2010-03-20 04:03    [W:0.051 / U:4.360 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site