[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090415081253.GE18192@elte.hu>
Date: Wed, 15 Apr 2009 10:12:53 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Sam Ravnborg <sam@...nborg.org>
Cc: Steven Rostedt <srostedt@...hat.com>,
Johannes Berg <johannes@...solutions.net>,
Ingo Molnar <mingo@...hat.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: TRACE_BRANCH_PROFILING breaks gcc warnings
* Sam Ravnborg <sam@...nborg.org> wrote:
> > > This has been mentioned before, and I've asked about sending a
> > > patch that would prevent TRACE_BRANCH_PROFILING from being
> > > selected with an allyesconfig.
> > >
> > > It is easy to do. I could make it a selection and not a
> > > boolean and it will not select it as default, even for
> > > allyes/modconfig
>
> We should have a symbol that is only set for allyesconfig builds.
>
> Then we could do something like:
>
> config TRACE_BRANCH_PROFILING
> depends on !ALLYESCONFIG
>
> The advantage is that it is obvious why we have defiend it like
> this rather than some inverse symbols.
>
> I looked at generating such symbol in kconfig long time ago but
> never finished it.
ah, nice idea! Should be fairly simple to do, right?
The other option is to disable/remove the branch profiler
altogether.
Ingo
--
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