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>
This commit is contained in:
Alex Elder 2016-05-20 11:59:57 -05:00 • committed by Greg Kroah-Hartman
commit f866e66f36
2 changed files with 85 additions and 1 deletions