linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] Tracing events with GPIOs
@ 2013-12-19 19:54 Jean-Jacques Hiblot
  2013-12-19 19:54 ` Jean-Jacques Hiblot
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Jacques Hiblot @ 2013-12-19 19:54 UTC (permalink / raw)
  To: masami.hiramatsu.pt, tom.zanussi, gnurou
  Cc: rostedt, linux-gpio, linux-kernel, Jean-Jacques Hiblot

Following the advice of Masami, I implemented the GPIO trace on top of the event
triggers (git://git.yoctoproject.org/linux-yocto-contrib
tzanussi/event-triggers-v11)

Alexandre,
This version uses the old gpio API (i-e gpio identifed by integers). GPIOs are
not requested in this patch, allowing any gpio to be used as a probe. It's a bit
dangerous but I think it's okay for the moment. When this patch is adapted to the
gpio descriptor API, we'll have to find a way to request the gpio properly.

Jean-Jacques Hiblot (1):
  Tracing events with GPIOs

 include/linux/ftrace_event.h        |   1 +
 kernel/trace/trace_events_trigger.c | 285 ++++++++++++++++++++++++++++++++++++
 2 files changed, 286 insertions(+)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-19 19:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-19 19:54 [PATCH v2] Tracing events with GPIOs Jean-Jacques Hiblot
2013-12-19 19:54 ` Jean-Jacques Hiblot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).