Re: [PATCH] Tracing events with GPIOs

2014-01-03 Thread Jean-Jacques Hiblot
2014/1/2 Linus Walleij : > On Thu, Dec 19, 2013 at 7:52 AM, Alexandre Courbot wrote: >> On Tue, Dec 17, 2013 at 9:22 AM, Jean-Jacques Hiblot >> wrote: >>> >>> This patch implements a new tracing mechanism based on kprobes and using >>> GPIO. >>> Debugging with GPIO is very common in the embedded

Re: [PATCH] Tracing events with GPIOs

2014-01-03 Thread Jean-Jacques Hiblot
2014/1/3 Alexandre Courbot : > On Fri, Dec 20, 2013 at 5:40 PM, Jean-Jacques Hiblot > wrote: >> 2013/12/20 Alexandre Courbot : >>> On Thu, Dec 19, 2013 at 8:38 PM, Jean-Jacques Hiblot >>> wrote: 2013/12/19 Alexandre Courbot : > The problems I can see so far: > > - Using gpiod, GP

Re: [PATCH] Tracing events with GPIOs

2014-01-03 Thread Alexandre Courbot
On Fri, Dec 20, 2013 at 5:40 PM, Jean-Jacques Hiblot wrote: > 2013/12/20 Alexandre Courbot : >> On Thu, Dec 19, 2013 at 8:38 PM, Jean-Jacques Hiblot >> wrote: >>> 2013/12/19 Alexandre Courbot : The problems I can see so far: - Using gpiod, GPIOs are not specified as integers, but a

Re: [PATCH] Tracing events with GPIOs

2014-01-02 Thread Linus Walleij
On Thu, Dec 19, 2013 at 7:52 AM, Alexandre Courbot wrote: > On Tue, Dec 17, 2013 at 9:22 AM, Jean-Jacques Hiblot > wrote: >> >> This patch implements a new tracing mechanism based on kprobes and using >> GPIO. >> Debugging with GPIO is very common in the embedded world. At least for those >> of

Re: [PATCH] Tracing events with GPIOs

2013-12-31 Thread Jean-Jacques Hiblot
2013/12/17 Jean-Jacques Hiblot : > 2013/12/17 Masami Hiramatsu : >> (2013/12/17 9:22), Jean-Jacques Hiblot wrote: >>> This patch implements a new tracing mechanism based on kprobes and using >>> GPIO. >>> Debugging with GPIO is very common in the embedded world. At least for >>> those of us >>> f

Re: [PATCH] Tracing events with GPIOs

2013-12-28 Thread Tom Zanussi
On Fri, 2013-12-27 at 10:51 -0600, Tom Zanussi wrote: > On Fri, 2013-12-27 at 15:54 +0100, Jean-Jacques Hiblot wrote: > > Hi Tom, Steven, > > > > I'm currently doing some tests with the event triggers > > (git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git > > for-next). > > At

Re: [PATCH] Tracing events with GPIOs

2013-12-27 Thread Tom Zanussi
On Fri, 2013-12-27 at 15:54 +0100, Jean-Jacques Hiblot wrote: > Hi Tom, Steven, > > I'm currently doing some tests with the event triggers > (git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git > for-next). > At the moment I can't use event triggers with probes dynamically > crea

Re: [PATCH] Tracing events with GPIOs

2013-12-27 Thread Jean-Jacques Hiblot
Hi Tom, Steven, I'm currently doing some tests with the event triggers (git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next). At the moment I can't use event triggers with probes dynamically created (with perf probe or via /sys/kernel/debug/tracing/kprobe_events) Predefi

Re: [PATCH] Tracing events with GPIOs

2013-12-20 Thread Jean-Jacques Hiblot
2013/12/20 Alexandre Courbot : > On Thu, Dec 19, 2013 at 8:38 PM, Jean-Jacques Hiblot > wrote: >> 2013/12/19 Alexandre Courbot : >>> The problems I can see so far: >>> >>> - Using gpiod, GPIOs are not specified as integers, but are typically >>> mapped to a given (device, function) pair (device ca

Re: [PATCH] Tracing events with GPIOs

2013-12-19 Thread Alexandre Courbot
On Thu, Dec 19, 2013 at 8:38 PM, Jean-Jacques Hiblot wrote: > 2013/12/19 Alexandre Courbot : >> The problems I can see so far: >> >> - Using gpiod, GPIOs are not specified as integers, but are typically >> mapped to a given (device, function) pair (device can be NULL) using >> device tree/platform

Re: [PATCH] Tracing events with GPIOs

2013-12-19 Thread Jean-Jacques Hiblot
2013/12/19 Alexandre Courbot : > On Tue, Dec 17, 2013 at 9:22 AM, Jean-Jacques Hiblot > wrote: >> >> This patch implements a new tracing mechanism based on kprobes and using >> GPIO. >> Debugging with GPIO is very common in the embedded world. At least for those >> of us >> fortunate enough to h

Re: [PATCH] Tracing events with GPIOs

2013-12-18 Thread Alexandre Courbot
On Tue, Dec 17, 2013 at 9:22 AM, Jean-Jacques Hiblot wrote: > > This patch implements a new tracing mechanism based on kprobes and using GPIO. > Debugging with GPIO is very common in the embedded world. At least for those > of us > fortunate enough to have an oscilloscope or a logic analyzer on t

Re: [PATCH] Tracing events with GPIOs

2013-12-17 Thread Jean-Jacques Hiblot
2013/12/17 Masami Hiramatsu : > (2013/12/17 9:22), Jean-Jacques Hiblot wrote: >> This patch implements a new tracing mechanism based on kprobes and using >> GPIO. >> Debugging with GPIO is very common in the embedded world. At least for those >> of us >> fortunate enough to have an oscilloscope o

Re: [PATCH] Tracing events with GPIOs

2013-12-17 Thread Tom Zanussi
On Tue, 2013-12-17 at 14:05 -0500, Steven Rostedt wrote: > On Tue, 17 Dec 2013 12:29:30 -0600 > Tom Zanussi wrote: > > > > Tom, > > > is git://git.yoctoproject.org/linux-yocto-contrib > > > tzanussi/event-triggers-v11 the right starting point ? > > > > > > > Yep, that's the last iteration - I h

Re: [PATCH] Tracing events with GPIOs

2013-12-17 Thread Steven Rostedt
On Tue, 17 Dec 2013 12:29:30 -0600 Tom Zanussi wrote: > > Tom, > > is git://git.yoctoproject.org/linux-yocto-contrib > > tzanussi/event-triggers-v11 the right starting point ? > > > > Yep, that's the last iteration - I haven't changed anything since then. > Is this the same as the last patch

Re: [PATCH] Tracing events with GPIOs

2013-12-17 Thread Tom Zanussi
Hi Jean-Jacques, On Tue, 2013-12-17 at 18:22 +0100, Jean-Jacques Hiblot wrote: > 2013/12/17 Masami Hiramatsu : > > (2013/12/17 9:22), Jean-Jacques Hiblot wrote: > >> This patch implements a new tracing mechanism based on kprobes and using > >> GPIO. > >> Debugging with GPIO is very common in the

Re: [PATCH] Tracing events with GPIOs

2013-12-16 Thread Masami Hiramatsu
(2013/12/17 9:22), Jean-Jacques Hiblot wrote: > This patch implements a new tracing mechanism based on kprobes and using GPIO. > Debugging with GPIO is very common in the embedded world. At least for those > of us > fortunate enough to have an oscilloscope or a logic analyzer on their bench... > T