All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tim Bird <tim.bird@am.sony.com>
To: Li Zefan <lizf@cn.fujitsu.com>
Cc: Ryan Wang <openspace.wang@gmail.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Does function_graph support x86_32?
Date: Fri, 19 Mar 2010 20:00:26 -0700	[thread overview]
Message-ID: <4BA43A4A.4060607@am.sony.com> (raw)
In-Reply-To: <4BA17A41.2000303@cn.fujitsu.com>

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


      reply	other threads:[~2010-03-20  3:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BA43A4A.4060607@am.sony.com \
    --to=tim.bird@am.sony.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizf@cn.fujitsu.com \
    --cc=openspace.wang@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.