devlink: add hardware messages tracing facility
authorJiri Pirko <jiri@mellanox.com>
Tue, 12 Jul 2016 16:05:03 +0000 (18:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Jul 2016 21:20:18 +0000 (14:20 -0700)
commite5224f0fe2acddbc2fa9b419d8867ced7f5381fc
tree246d2e1b757978a0e507b5198ec1bb60c016c3a4
parent85c22bad56ec0d0d8d8518414f97106233132e43
devlink: add hardware messages tracing facility

Define a tracepoint and allow user to trace messages going to and from
hardware associated with devlink instance.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/trace/events/devlink.h [new file with mode: 0644]
net/core/devlink.c