fsi: master-gpio: Add more tracepoints
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 29 May 2018 09:28:38 +0000 (19:28 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 12 Jul 2018 02:02:31 +0000 (12:02 +1000)
commit777fd524ba197475a60198aa1666408662acbcbc
tree0f9cf1e495a64705715f766ae92a591ded916557
parent75854c148fa5983ff02f630a0eb2d80998fe12ae
fsi: master-gpio: Add more tracepoints

This adds a few more tracepoints that have proven useful when
debugging issues with the FSI bus.

This also makes echo_delay() use clock_zeros() instead of
open-code it in order to share the tracepoint.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
drivers/fsi/fsi-master-gpio.c
include/trace/events/fsi_master_gpio.h