greybus: add operation traces
authorAlex Elder <elder@linaro.org>
Fri, 20 May 2016 16:59:57 +0000 (11:59 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 21 May 2016 00:12:25 +0000 (17:12 -0700)
commitf866e66f368ee58954d83e6e99194ffcd6dfcad5
tree59988b489b0a89f3009f9256f47fd704ec6c62f5
parent428888a2b672444dbab9bb5127b7f583ab58ff2f
greybus: add operation traces

Define a new gb_operation event class, and define and use trace
events that record when an operation is created, finally destroyed,
and when its active count changes.

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