[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160426153255.0fcb5f82@gandalf.local.home>
Date: Tue, 26 Apr 2016 15:32:55 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: Rabin Vincent <rabin@....in>, Ingo Molnar <mingo@...hat.com>,
linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tracing: add support for tracing MMIO helpers
On Tue, 26 Apr 2016 21:14:47 +0200
Arnd Bergmann <arnd@...db.de> wrote:
> > +/* This part must be outside protection */
> > +#include <trace/define_trace.h>
> > diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
> > index e45db6b0d878..feca834436c5 100644
> > --- a/kernel/trace/Kconfig
> > +++ b/kernel/trace/Kconfig
> > @@ -372,6 +372,22 @@ config STACK_TRACER
> >
> > Say N if unsure.
> >
> > +config TRACE_MMIO_HELPERS
> > + bool "Support for tracing MMIO helpers"
> > + select GENERIC_TRACER
>
> How about putting a whitelist of architectures here that are including
> the necessary definitions? Or better, a HAVE_TRACE_MMIO_HELPERS
> symbol that gets selected by architectures and that this depends on?
>
Agreed.
-- Steve
Powered by blists - more mailing lists