]> git.karo-electronics.de Git - linux-beck.git/commit
greybus: tracing: add timing traces
authorAlex Elder <elder@linaro.org>
Fri, 3 Jun 2016 20:55:38 +0000 (15:55 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 4 Jun 2016 00:03:23 +0000 (17:03 -0700)
commit495787a792ac498843b25e5569597c24cd026f2b
tree049c9b84a2d348b806e0d033df5f26320a70d481
parent79c8c6494220dafeaedf8dc94b50c9a787e25e5d
greybus: tracing: add timing traces

Bryan reports he used certain message traces to determine when time
sync messages transit the boundary between the Greybus core and the
host device.  This patch adds two trace events--one a message event
for outbound messages (because it indicates its operation and its
destination), and one host device event for incoming messages
(because message information isn't available as early as desired).
These events are being created to allow the same sort of analysis
of messages without having to store extra information for every
message trace.  (The next patch changes the information a message
trace records.)

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c
drivers/staging/greybus/es2.c
drivers/staging/greybus/greybus_trace.h
drivers/staging/greybus/hd.c