[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4BA43A4A.4060607@am.sony.com>
Date: Fri, 19 Mar 2010 20:00:26 -0700
From: Tim Bird <tim.bird@...sony.com>
To: Li Zefan <lizf@...fujitsu.com>
CC: Ryan Wang <openspace.wang@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: 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
=============================
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists