]> git.karo-electronics.de Git - linux-beck.git/commitdiff
greybus: tracing: eliminate "location" comments
authorAlex Elder <elder@linaro.org>
Fri, 20 May 2016 16:44:56 +0000 (11:44 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 21 May 2016 00:19:03 +0000 (17:19 -0700)
Each message event has a set of comments preceeding its definition.
One of them, "location", indicates where that event is used.  I
am certain that this comment will become out of date very easily.
Hopefully just the name of the event is a good enough suggestion
about where it will be used.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Jeffrey Carlyle <jcarlyle@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus_trace.h

index 40c24cf9ba7ae86dcb93aae95d0cfad1e6bfb203..4fd9269c97d498dac1e9930873181d21c7c4e7b4 100644 (file)
@@ -60,35 +60,30 @@ DECLARE_EVENT_CLASS(gb_message,
 /*
  * tracepoint name     greybus:gb_message_send
  * description         send a greybus message
- * location            operation.c:gb_message_send
  */
 DEFINE_MESSAGE_EVENT(gb_message_send);
 
 /*
  * tracepoint name     greybus:gb_message_recv_request
  * description         receive a greybus request
- * location            operation.c:gb_connection_recv_request
  */
 DEFINE_MESSAGE_EVENT(gb_message_recv_request);
 
 /*
  * tracepoint name     greybus:gb_message_recv_response
  * description         receive a greybus response
- * location            operation.c:gb_connection_recv_response
  */
 DEFINE_MESSAGE_EVENT(gb_message_recv_response);
 
 /*
  * tracepoint name     greybus:gb_message_cancel_outgoing
  * description         cancel outgoing greybus request
- * location            operation.c:gb_message_cancel
  */
 DEFINE_MESSAGE_EVENT(gb_message_cancel_outgoing);
 
 /*
  * tracepoint name     greybus:gb_message_cancel_incoming
  * description         cancel incoming greybus request
- * location            operation.c:gb_message_cancel_incoming
  */
 DEFINE_MESSAGE_EVENT(gb_message_cancel_incoming);
 
@@ -195,14 +190,12 @@ DECLARE_EVENT_CLASS(gb_host_device,
 /*
  * tracepoint name     greybus:gb_host_device_send
  * description         tracepoint representing the point data are transmitted
- * location            es2.c:message_send
  */
 DEFINE_HD_EVENT(gb_host_device_send);
 
 /*
  * tracepoint name     greybus:gb_host_device_recv
  * description         tracepoint representing the point data are received
- * location            es2.c:cport_in_callback
  */
 DEFINE_HD_EVENT(gb_host_device_recv);