Re: [PATCH] tracing: add support for tracing MMIO helpers

2016-04-29 Thread Rabin Vincent
On Tue, Apr 26, 2016 at 09:14:47PM +0200, Arnd Bergmann wrote: > On Tuesday 26 April 2016 21:04:42 Rabin Vincent wrote: > > The support is added via and as such is only > > available on the archs which use that header. > > Why that limitation? I think only few architectures use it. Maybe > at lea

Re: [PATCH] tracing: add support for tracing MMIO helpers

2016-04-26 Thread Steven Rostedt
On Tue, 26 Apr 2016 21:14:47 +0200 Arnd Bergmann wrote: > > +/* This part must be outside protection */ > > +#include > > diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig > > index e45db6b0d878..feca834436c5 100644 > > --- a/kernel/trace/Kconfig > > +++ b/kernel/trace/Kconfig > > @@ -37

Re: [PATCH] tracing: add support for tracing MMIO helpers

2016-04-26 Thread Arnd Bergmann
On Tuesday 26 April 2016 21:04:42 Rabin Vincent wrote: > Add support for tracing the MMIO helpers readl()/writel() (and their > variants), for use while developing and debugging device drivers. > > The address and the value are saved along with the C expressions used in > the driver when calling t

[PATCH] tracing: add support for tracing MMIO helpers

2016-04-26 Thread Rabin Vincent
Add support for tracing the MMIO helpers readl()/writel() (and their variants), for use while developing and debugging device drivers. The address and the value are saved along with the C expressions used in the driver when calling these MMIO access functions, leading to a trace of the driver's in