greybus: tracepoints: add tracepoints for host_device tx/rx
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Wed, 23 Sep 2015 01:06:38 +0000 (18:06 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 23 Sep 2015 19:39:24 +0000 (12:39 -0700)
commit32b2b16737d40d0aea6e7a02740ce47acd4fdd2e
treecfb4ee46ddd5170b03077b198e4e9efb16887329
parentd090446a915f109e65f3b2643269b134e1ddb4ef
greybus: tracepoints: add tracepoints for host_device tx/rx

This patch adds new tracepoint declarations to greybus_trace.h to allow for
capture of greybus host device tx and rx events. These two tracepoints
allow an observer to see the point where the hardware interface driver
performs the relevant read or write to receive or write the data it's been
given from the higher layer greybus driver.

The following two new tracepoints are declared:
- trace_gb_host_device_send
- trace_gb_host_device_recv

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/core.c
drivers/staging/greybus/greybus_trace.h