summaryrefslogtreecommitdiffstats
path: root/net/devlink/leftover.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-08-28 08:16:55 +0200
committerJakub Kicinski <kuba@kernel.org>2023-08-28 17:02:23 +0200
commit890c556674377c0abba4ab91ff6f1962175d578c (patch)
tree7ee33dbe0cfcccdc27ad9458c8e47e9756d583a9 /net/devlink/leftover.c
parentdevlink: push linecard related code into separate file (diff)
downloadlinux-890c556674377c0abba4ab91ff6f1962175d578c.tar.xz
linux-890c556674377c0abba4ab91ff6f1962175d578c.zip
devlink: move tracepoint definitions into core.c
Move remaining tracepoint definitions to most suitable file core.c. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Link: https://lore.kernel.org/r/20230828061657.300667-14-jiri@resnulli.us Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
-rw-r--r--net/devlink/leftover.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/devlink/leftover.c b/net/devlink/leftover.c
index 98ccb3a8393d..a477cdbab940 100644
--- a/net/devlink/leftover.c
+++ b/net/devlink/leftover.c
@@ -28,15 +28,9 @@
#include <net/net_namespace.h>
#include <net/sock.h>
#include <net/devlink.h>
-#define CREATE_TRACE_POINTS
-#include <trace/events/devlink.h>
#include "devl_internal.h"
-EXPORT_TRACEPOINT_SYMBOL_GPL(devlink_hwmsg);
-EXPORT_TRACEPOINT_SYMBOL_GPL(devlink_hwerr);
-EXPORT_TRACEPOINT_SYMBOL_GPL(devlink_trap_report);
-
const struct genl_small_ops devlink_nl_small_ops[40] = {
{
.cmd = DEVLINK_CMD_PORT_SET,