]> 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)
commit57186a5f43d093e769076a4f1bf043351d8668a0
tree746ab6fab6b854beafbcfd48b5c6e033e18f302c
parent8ce5cd5ed48b985839b6cadb997403cbcf7fe9db
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