lkml.org 
[lkml]   [2006]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] irqtrace-option-off-compile-fix
From
Date
On Tue, 2006-07-11 at 21:45 +0200, Ingo Molnar wrote:
> * Tim Chen <tim.c.chen@linux.intel.com> wrote:
>
> > > The one you want is CONFIG_TRACE_IRQFLAGS .. which is the one that
> > > actually turns the tracing on
> >
> > I could not turn off CONFIG_TRACE_IRQFLAGS_SUPPORT in .config
> > directly. The command "scripts/kconfig/conf -s arch/x86_64/Kconfig" in
> > Makefile overwrites changes made to CONFIG_TRACE_IRQFLAGS_SUPPORT in
> > .config file. So this is always turned on in .config if the option
> > TRACE_IRQFLAGS_SUPPORT is set in arch/x86_64/Kconfig.debug. I may be
> > missing something. Any suggestions?
>
> correct, that flag is always set - it signals towards the core kernel
> that the architecture in question (x86_64) that it has trace-irqflags
> support. NOTE: this does not mean that irqflags tracing is turned on -
> that is another option: CONFIG_TRACE_IRQFLAGS.
>
> unsetting the support flag makes no sense and will likely break the
> build. There is no overhead from irqflags tracing if it's turned off.
> (even if the CONFIG_TRACE_IRQFLAGS_SUPPORT option is set)
>
> does this explain things? We could rename the boolean value to
> CONFIG_TRACE_IRQFLAGS_SUPPORT_AVAILABLE perhaps, to avoid future
> confusion.
>
> Ingo

Thanks for clarifying.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-11 22:33    [W:0.121 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site