greybus: tracing: define bundle traces
authorAlex Elder <elder@linaro.org>
Fri, 3 Jun 2016 20:55:36 +0000 (15:55 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 4 Jun 2016 00:03:23 +0000 (17:03 -0700)
commit4f9c5c0bbb9fb4715ca01cd28ba04a3117a9be6f
treef17ad47a4c802f9aa0d56be4f4c5e372b5b561e3
parent6879dbf15e866565cde7591337c2fcca7440ab6f
greybus: tracing: define bundle traces

Define a new gb_bundle trace point event class, used to trace events
associated with the bundle abstraction.  Define four basic trace
points for this--creation time, drop of last reference, before
adding it to its interface and when removed when its interface
is destroyed.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/bundle.c
drivers/staging/greybus/greybus_trace.h