aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/devlink.c
diff options
context:
space:
mode:
authorNir Dotan <nird@mellanox.com>2019-02-04 18:47:45 +0000
committerDavid S. Miller <davem@davemloft.net>2019-02-06 11:05:57 -0800
commit57186a5f43d093e769076a4f1bf043351d8668a0 (patch)
tree746ab6fab6b854beafbcfd48b5c6e033e18f302c /net/core/devlink.c
parentMerge branch 'dpaa2-eth-Driver-updates' (diff)
downloadlinux-dev-57186a5f43d093e769076a4f1bf043351d8668a0.tar.xz
linux-dev-57186a5f43d093e769076a4f1bf043351d8668a0.zip
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/devlink.c')
-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);