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

Define a new gb_connection trace point event class, used to trace
events associated with the connection abstraction.  Define four basic
trace events for this--creation, drop of last reference, and when
adding or dropping any other reference.  There are certainly
more events that we might want to add, but aim is to just get the
basic framework in place.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c
drivers/staging/greybus/greybus_trace.h