/* * Occurs immediately before calling a host device's message_send() * method.
*/
DEFINE_MESSAGE_EVENT(gb_message_send);
/* * Occurs after an incoming request message has been received
*/
DEFINE_MESSAGE_EVENT(gb_message_recv_request);
/* * Occurs after an incoming response message has been received, * after its matching request has been found.
*/
DEFINE_MESSAGE_EVENT(gb_message_recv_response);
/* * Occurs after an operation has been canceled, possibly before the * cancellation is complete.
*/
DEFINE_MESSAGE_EVENT(gb_message_cancel_outgoing);
/* * Occurs when an incoming request is cancelled; if the response has * been queued for sending, this occurs after it is sent.
*/
DEFINE_MESSAGE_EVENT(gb_message_cancel_incoming);
/* * Occurs in the host driver message_send() function just prior to * handing off the data to be processed by hardware.
*/
DEFINE_MESSAGE_EVENT(gb_message_submit);
#undef DEFINE_MESSAGE_EVENT
DECLARE_EVENT_CLASS(gb_operation,
TP_PROTO(struct gb_operation *operation),
TP_ARGS(operation),
TP_STRUCT__entry(
__field(u16, cport_id) /* CPort of HD side of connection */
__field(u16, id) /* Operation ID */
__field(u8, type)
__field(unsignedlong, flags)
__field(int, active)
__field(int, waiters)
__field(int, errno)
),
/* * Occurs after a new operation is created for an outgoing request * has been successfully created.
*/
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.
*/
DEFINE_OPERATION_EVENT(gb_operation_create_incoming);
/* * Occurs when the last reference to an operation has been dropped, * prior to freeing resources.
*/
DEFINE_OPERATION_EVENT(gb_operation_destroy);
/* * Occurs when an operation has been marked active, after updating * its active count.
*/
DEFINE_OPERATION_EVENT(gb_operation_get_active);
/* * Occurs when an operation has been marked active, before updating * its active count.
*/
DEFINE_OPERATION_EVENT(gb_operation_put_active);
/* * Occurs after a new connection is successfully created.
*/
DEFINE_CONNECTION_EVENT(gb_connection_create);
/* * Occurs when the last reference to a connection has been dropped, * before its resources are freed.
*/
DEFINE_CONNECTION_EVENT(gb_connection_release);
/* * Occurs when a new reference to connection is added, currently * only when a message over the connection is received.
*/
DEFINE_CONNECTION_EVENT(gb_connection_get);
/* * Occurs when a new reference to connection is dropped, after a * a received message is handled, or when the connection is * destroyed.
*/
DEFINE_CONNECTION_EVENT(gb_connection_put);
/* * Occurs when a request to enable a connection is made, either for * transmit only, or for both transmit and receive.
*/
DEFINE_CONNECTION_EVENT(gb_connection_enable);
/* * Occurs when a request to disable a connection is made, either for * receive only, or for both transmit and receive. Also occurs when * a request to forcefully disable a connection is made.
*/
DEFINE_CONNECTION_EVENT(gb_connection_disable);
/* * Occurs after a new host device is successfully created, before * its SVC has been set up.
*/
DEFINE_HD_EVENT(gb_hd_create);
/* * Occurs after the last reference to a host device has been * dropped.
*/
DEFINE_HD_EVENT(gb_hd_release);
/* * Occurs after a new host device has been added, after the * connection to its SVC has been enabled.
*/
DEFINE_HD_EVENT(gb_hd_add);
/* * Occurs when a host device is being disconnected from the AP USB * host controller.
*/
DEFINE_HD_EVENT(gb_hd_del);
/* * Occurs when a host device has passed received data to the Greybus * core, after it has been determined it is destined for a valid * CPort.
*/
DEFINE_HD_EVENT(gb_hd_in);
#undef DEFINE_HD_EVENT
#endif/* _TRACE_GREYBUS_H */
/* This part must be outside protection */ #undef TRACE_INCLUDE_PATH #define TRACE_INCLUDE_PATH .
/* * TRACE_INCLUDE_FILE is not needed if the filename and TRACE_SYSTEM are equal
*/ #undef TRACE_INCLUDE_FILE #define TRACE_INCLUDE_FILE greybus_trace #include <trace/define_trace.h>
Messung V0.5
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.