summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorNir Dotan <nird@mellanox.com>2019-02-04 21:47:45 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-06 22:05:57 +0300
commit57186a5f43d093e769076a4f1bf043351d8668a0 (patch)
tree746ab6fab6b854beafbcfd48b5c6e033e18f302c /net/core
parent8ce5cd5ed48b985839b6cadb997403cbcf7fe9db (diff)
downloadlinux-57186a5f43d093e769076a4f1bf043351d8668a0.tar.xz
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>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/devlink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/devlink.c b/net/core/devlink.c
index 52bf27491fb8..cd0d393bc62d 100644
--- a/net/core/devlink.c
+++ b/net/core/devlink.c
@@ -81,6 +81,7 @@ struct devlink_dpipe_header devlink_dpipe_header_ipv6 = {
EXPORT_SYMBOL(devlink_dpipe_header_ipv6);
EXPORT_TRACEPOINT_SYMBOL_GPL(devlink_hwmsg);
+EXPORT_TRACEPOINT_SYMBOL_GPL(devlink_hwerr);
static LIST_HEAD(devlink_list);