diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2016-05-27 17:26:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-05-27 12:21:16 -0700 |
commit | 18079ece816b3b272b114b770e636f4e5567b028 (patch) | |
tree | 1e53c782df5333d13adb90a39cab6c42dce7b353 /drivers/staging/greybus/greybus_trace.h | |
parent | 77bbbcf6d36d7ef2054a8b0dc8396cc0f092945e (diff) | |
download | linux-18079ece816b3b272b114b770e636f4e5567b028.tar.bz2 |
greybus: operation: add helper for creating core operations
Add a new core operation flag and a helper that core can use to create
core operations.
This will be used to implement the ping operations that core sends as
part of connection tear down.
Note that a new trace point is also added.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/greybus_trace.h')
-rw-r--r-- | drivers/staging/greybus/greybus_trace.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/greybus/greybus_trace.h b/drivers/staging/greybus/greybus_trace.h index 93e04a85506f..148ffaf4c6b4 100644 --- a/drivers/staging/greybus/greybus_trace.h +++ b/drivers/staging/greybus/greybus_trace.h @@ -131,6 +131,11 @@ DECLARE_EVENT_CLASS(gb_operation, DEFINE_OPERATION_EVENT(gb_operation_create); /* + * Occurs after a new core operation has been created. + */ +DEFINE_OPERATION_EVENT(gb_operation_create_core); + +/* * Occurs after a new operation has been created for an incoming * request has been successfully created and initialized. */ |