]> git.baikalelectronics.ru Git - kernel.git/commit
devlink: add hardware errors tracing facility
authorNir Dotan <nird@mellanox.com>
Mon, 4 Feb 2019 18:47:45 +0000 (18:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Feb 2019 19:05:57 +0000 (11:05 -0800)
commite3126068bf0ac3edfb4b14774d99f7aacb06f92f
tree746ab6fab6b854beafbcfd48b5c6e033e18f302c
parentc2cc72103349a882e5463e15face613399c8780c
devlink: add hardware errors tracing facility

Define a tracepoint and allow user to trace messages in case of an hardware
error code for hardware associated with devlink instance.

Signed-off-by: Nir Dotan <nird@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/trace/events/devlink.h
net/core/devlink.c