net/phy: add trace events for mdio accesses
authorUwe Kleine-König <uwe@kleine-koenig.org>
Tue, 22 Nov 2016 15:47:11 +0000 (16:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Nov 2016 16:55:43 +0000 (11:55 -0500)
commite22e996b72d47c7bf5bb6b17071b2e9d3db462d4
tree6e3a0b92aba2431cbeb9ee108933e430177baaee
parentb9116823189e85ccf3843c7d3ee3a361af0c3eb6
net/phy: add trace events for mdio accesses

Make it possible to generate trace events for mdio read and write accesses.

Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio_bus.c
include/trace/events/mdio.h [new file with mode: 0644]